@ -1869,3 +1869,637 @@ $_SERVER = [
]
]
'argc' => 2
'argc' => 2
]
]
2019-12-14 09:41:31 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user')
#1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user')
#2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault()
#3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault()
#4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL)
#7 /home/www/Antbasic/console/controllers/TestController.php(56): yii\db\BaseActiveRecord->save()
#8 [internal function]: console\controllers\TestController->actionOrderGoods()
#9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array)
#12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array)
#13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array)
#14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array)
#15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 /home/www/Antbasic/yii(23): yii\base\Application->run()
#17 {main}
2019-12-14 09:41:31 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576287691.9244
'REQUEST_TIME' => 1576287691
'argv' => [
0 => './yii'
1 => 'test/order-goods'
]
'argc' => 2
]
2019-12-14 09:58:21 [-][-][-][error][Error] Error: Call to undefined function console\controllers\printError() in /home/www/Antbasic/console/controllers/TestController.php:94
Stack trace:
#0 [internal function]: console\controllers\TestController->actionUser()
#1 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#2 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#3 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('user', Array)
#4 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('user', Array)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/user', Array)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/user', Array)
#7 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#8 /home/www/Antbasic/yii(23): yii\base\Application->run()
#9 {main}
2019-12-14 09:58:21 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576288701.6889
'REQUEST_TIME' => 1576288701
'argv' => [
0 => './yii'
1 => 'test/user'
]
'argc' => 2
]
2019-12-14 11:15:14 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user')
#1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user')
#2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault()
#3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault()
#4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL)
#7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save()
#8 [internal function]: console\controllers\TestController->actionOrderGoods()
#9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array)
#12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array)
#13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array)
#14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array)
#15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 /home/www/Antbasic/yii(23): yii\base\Application->run()
#17 {main}
2019-12-14 11:15:14 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576293314.3808
'REQUEST_TIME' => 1576293314
'argv' => [
0 => './yii'
1 => 'test/order-goods'
]
'argc' => 2
]
2019-12-14 11:19:53 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user')
#1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user')
#2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault()
#3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault()
#4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL)
#7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save()
#8 [internal function]: console\controllers\TestController->actionOrderGoods()
#9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array)
#12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array)
#13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array)
#14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array)
#15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 /home/www/Antbasic/yii(23): yii\base\Application->run()
#17 {main}
2019-12-14 11:19:53 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576293593.417
'REQUEST_TIME' => 1576293593
'argv' => [
0 => './yii'
1 => 'test/order-goods'
]
'argc' => 2
]
2019-12-14 11:21:12 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user')
#1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user')
#2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault()
#3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault()
#4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL)
#7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save()
#8 [internal function]: console\controllers\TestController->actionOrderGoods()
#9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array)
#12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array)
#13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array)
#14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array)
#15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 /home/www/Antbasic/yii(23): yii\base\Application->run()
#17 {main}
2019-12-14 11:21:12 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576293672.3767
'REQUEST_TIME' => 1576293672
'argv' => [
0 => './yii'
1 => 'test/order-goods'
]
'argc' => 2
]
2019-12-14 11:22:27 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: yii\console\Application::user in /home/www/Antbasic/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/www/Antbasic/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('user')
#1 /home/www/Antbasic/api/logic/AddressLogic.php(149): yii\di\ServiceLocator->__get('user')
#2 /home/www/Antbasic/api/logic/AddressLogic.php(30): api\logic\AddressLogic->findDefault()
#3 /home/www/Antbasic/backend/modules/shop/models/ars/Order.php(134): api\logic\AddressLogic->getDefault()
#4 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(596): backend\modules\shop\models\ars\Order->beforeSave(true)
#5 /home/www/Antbasic/vendor/yiisoft/yii2/db/ActiveRecord.php(566): yii\db\ActiveRecord->insertInternal(NULL)
#6 /home/www/Antbasic/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert(true, NULL)
#7 /home/www/Antbasic/console/controllers/TestController.php(60): yii\db\BaseActiveRecord->save()
#8 [internal function]: console\controllers\TestController->actionOrderGoods()
#9 /home/www/Antbasic/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#10 /home/www/Antbasic/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#11 /home/www/Antbasic/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('order-goods', Array)
#12 /home/www/Antbasic/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('order-goods', Array)
#13 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('test/order-good...', Array)
#14 /home/www/Antbasic/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('test/order-good...', Array)
#15 /home/www/Antbasic/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 /home/www/Antbasic/yii(23): yii\base\Application->run()
#17 {main}
2019-12-14 11:22:27 [-][-][-][info][application] $_GET = []
$_POST = []
$_FILES = []
$_COOKIE = []
$_SERVER = [
'CLUTTER_IM_MODULE' => 'xim'
'LS_COLORS' => 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
'LC_MEASUREMENT' => 'zh_CN.UTF-8'
'LESSCLOSE' => '/usr/bin/lesspipe %s %s'
'LC_PAPER' => 'zh_CN.UTF-8'
'LC_MONETARY' => 'zh_CN.UTF-8'
'XDG_MENU_PREFIX' => 'gnome-'
'LANG' => 'en_US.UTF-8'
'DISPLAY' => ':0'
'GNOME_SHELL_SESSION_MODE' => 'ubuntu'
'COLORTERM' => 'truecolor'
'DESKTOP_AUTOSTART_ID' => '1046463cbd9c6ed29157628375735641200000034850007'
'USERNAME' => 'travis'
'XDG_VTNR' => '2'
'SSH_AUTH_SOCK' => '/run/user/1000/keyring/ssh'
'MANDATORY_PATH' => '/usr/share/gconf/ubuntu.mandatory.path'
'LC_NAME' => 'zh_CN.UTF-8'
'XDG_SESSION_ID' => '4'
'USER' => 'travis'
'DESKTOP_SESSION' => 'ubuntu'
'QT4_IM_MODULE' => 'fcitx'
'TEXTDOMAINDIR' => '/usr/share/locale/'
'GNOME_TERMINAL_SCREEN' => '/org/gnome/Terminal/screen/2adc74e2_a423_4ce2_9e91_9efc3b61698e'
'DEFAULTS_PATH' => '/usr/share/gconf/ubuntu.default.path'
'PWD' => '/home/www/Antbasic'
'HOME' => '/home/travis'
'TEXTDOMAIN' => 'im-config'
'SSH_AGENT_PID' => '1920'
'QT_ACCESSIBILITY' => '1'
'XDG_SESSION_TYPE' => 'x11'
'XDG_DATA_DIRS' => '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
'XDG_SESSION_DESKTOP' => 'ubuntu'
'LC_ADDRESS' => 'zh_CN.UTF-8'
'LC_NUMERIC' => 'zh_CN.UTF-8'
'GTK_MODULES' => 'gail:atk-bridge'
'PAPERSIZE' => 'a4'
'WINDOWPATH' => '2'
'VTE_VERSION' => '5202'
'TERM' => 'xterm-256color'
'SHELL' => '/bin/bash'
'QT_IM_MODULE' => 'fcitx'
'XMODIFIERS' => '@im=fcitx'
'IM_CONFIG_PHASE' => '2'
'XDG_CURRENT_DESKTOP' => 'ubuntu:GNOME'
'GPG_AGENT_INFO' => '/run/user/1000/gnupg/S.gpg-agent:0:1'
'GNOME_TERMINAL_SERVICE' => ':1.84'
'XDG_SEAT' => 'seat0'
'SHLVL' => '1'
'LANGUAGE' => 'en_US:en'
'LC_TELEPHONE' => 'zh_CN.UTF-8'
'GDMSESSION' => 'ubuntu'
'GNOME_DESKTOP_SESSION_ID' => 'this-is-deprecated'
'LOGNAME' => 'travis'
'DBUS_SESSION_BUS_ADDRESS' => 'unix:path=/run/user/1000/bus'
'XDG_RUNTIME_DIR' => '/run/user/1000'
'XAUTHORITY' => '/run/user/1000/gdm/Xauthority'
'XDG_CONFIG_DIRS' => '/etc/xdg/xdg-ubuntu:/etc/xdg'
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
'LC_IDENTIFICATION' => 'zh_CN.UTF-8'
'SESSION_MANAGER' => 'local/travis-TM1703:@/tmp/.ICE-unix/3485,unix/travis-TM1703:/tmp/.ICE-unix/3485'
'LESSOPEN' => '| /usr/bin/lesspipe %s'
'GTK_IM_MODULE' => 'fcitx'
'LC_TIME' => 'zh_CN.UTF-8'
'OLDPWD' => '/home/www'
'_' => './yii'
'PHP_SELF' => './yii'
'SCRIPT_NAME' => './yii'
'SCRIPT_FILENAME' => './yii'
'PATH_TRANSLATED' => './yii'
'DOCUMENT_ROOT' => ''
'REQUEST_TIME_FLOAT' => 1576293747.3289
'REQUEST_TIME' => 1576293747
'argv' => [
0 => './yii'
1 => 'test/order-goods'
]
'argc' => 2
]