Notice (8): Undefined index: currentUserAuthPrefixes [APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94]Code Context
// ログイン状態とサイト公開状態を判定し、どちらも true なら CSS を挿入
if (array_search('admin', $Subject->viewVars['currentUserAuthPrefixes']) !== null && ($Subject->viewVars['siteConfig']['maintenance'] !== '0')) {
$event = object(CakeEvent) {
data => array(
(int) 0 => '【ローカルのbaserCMSインストールパス】\lib\Baser\Plugin\Mail\View\Layouts\Emails\text\default.php'
)
result => null
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(BcAppView) {}
[protected] _stopped => false
}
$Subject = object(BcAppView) {
pageTitle => null
elementCache => '_cake_element_'
Helpers => object(HelperCollection) {}
Blocks => object(ViewBlock) {}
plugin => 'Mail'
name => null
passedArgs => array()
helpers => array(
(int) 0 => 'Html'
)
viewPath => 'Emails\text'
viewVars => array(
'message' => array(
[maximum depth reached]
),
'content' => array(
[maximum depth reached]
),
'mailFields' => array(
[maximum depth reached]
),
'mailContents' => array(
[maximum depth reached]
),
'mailConfig' => array(
[maximum depth reached]
),
'other' => array(
[maximum depth reached]
)
)
view => null
layout => 'default'
layoutPath => 'Emails\text'
autoLayout => true
ext => '.php'
subDir => null
theme => '【使用テーマ名】'
cacheAction => false
validationErrors => array()
hasRendered => false
uuids => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
elementCacheSettings => array()
Html => object(HtmlHelper) {}
Maildata => object(MaildataHelper) {}
[protected] _viewFilesLog => array()
[protected] _passedVars => array(
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'ext',
(int) 3 => 'helpers',
(int) 4 => 'view',
(int) 5 => 'layout',
(int) 6 => 'name',
(int) 7 => 'theme',
(int) 8 => 'layoutPath',
(int) 9 => 'viewPath',
(int) 10 => 'request',
(int) 11 => 'plugin',
(int) 12 => 'passedArgs',
(int) 13 => 'cacheAction',
(int) 14 => 'subDir',
(int) 15 => 'adminTheme',
(int) 16 => 'pageTitle',
(int) 17 => 'content',
(int) 18 => 'site'
)
[protected] _scripts => array()
[protected] _paths => array()
[protected] _pathsForPlugin => array()
[protected] _parents => array()
[protected] _current => '【ローカルのbaserCMSインストールパス】\theme\【使用テーマ名】\Emails\text\mail_default.php'
[protected] _currentType => 'view'
[protected] _stack => array()
[protected] _eventManager => object(CakeEventManager) {}
[protected] _eventManagerConfigured => true
}
StopTheBokettchViewEventListener::beforeLayout() - APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94
CakeEventManager::dispatch() - CORE\Baser\Event\CakeEventManager.php, line 244
View::renderLayout() - CORE\Cake\View\View.php, line 524
View::render() - CORE\Cake\View\View.php, line 481
CakeEmail::_renderTemplates() - CORE\Cake\Network\Email\CakeEmail.php, line 1735
CakeEmail::_render() - CORE\Cake\Network\Email\CakeEmail.php, line 1587
CakeEmail::send() - CORE\Cake\Network\Email\CakeEmail.php, line 1181
BcAppController::sendMail() - CORE\Baser\Controller\BcAppController.php, line 1094
MailController::_sendEmail() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 586
MailController::submit() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 377
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - ROOT\index.php, line 123
Warning (2): array_search() expects parameter 2 to be array, null given [APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94]Code Context
// ログイン状態とサイト公開状態を判定し、どちらも true なら CSS を挿入
if (array_search('admin', $Subject->viewVars['currentUserAuthPrefixes']) !== null && ($Subject->viewVars['siteConfig']['maintenance'] !== '0')) {
$event = object(CakeEvent) {
data => array(
(int) 0 => '【ローカルのbaserCMSインストールパス】\lib\Baser\Plugin\Mail\View\Layouts\Emails\text\default.php'
)
result => null
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(BcAppView) {}
[protected] _stopped => false
}
$Subject = object(BcAppView) {
pageTitle => null
elementCache => '_cake_element_'
Helpers => object(HelperCollection) {}
Blocks => object(ViewBlock) {}
plugin => 'Mail'
name => null
passedArgs => array()
helpers => array(
(int) 0 => 'Html'
)
viewPath => 'Emails\text'
viewVars => array(
'message' => array(
[maximum depth reached]
),
'content' => array(
[maximum depth reached]
),
'mailFields' => array(
[maximum depth reached]
),
'mailContents' => array(
[maximum depth reached]
),
'mailConfig' => array(
[maximum depth reached]
),
'other' => array(
[maximum depth reached]
)
)
view => null
layout => 'default'
layoutPath => 'Emails\text'
autoLayout => true
ext => '.php'
subDir => null
theme => '【使用テーマ名】'
cacheAction => false
validationErrors => array()
hasRendered => false
uuids => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
elementCacheSettings => array()
Html => object(HtmlHelper) {}
Maildata => object(MaildataHelper) {}
[protected] _viewFilesLog => array()
[protected] _passedVars => array(
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'ext',
(int) 3 => 'helpers',
(int) 4 => 'view',
(int) 5 => 'layout',
(int) 6 => 'name',
(int) 7 => 'theme',
(int) 8 => 'layoutPath',
(int) 9 => 'viewPath',
(int) 10 => 'request',
(int) 11 => 'plugin',
(int) 12 => 'passedArgs',
(int) 13 => 'cacheAction',
(int) 14 => 'subDir',
(int) 15 => 'adminTheme',
(int) 16 => 'pageTitle',
(int) 17 => 'content',
(int) 18 => 'site'
)
[protected] _scripts => array()
[protected] _paths => array()
[protected] _pathsForPlugin => array()
[protected] _parents => array()
[protected] _current => '【ローカルのbaserCMSインストールパス】\theme\【使用テーマ名】\Emails\text\mail_default.php'
[protected] _currentType => 'view'
[protected] _stack => array()
[protected] _eventManager => object(CakeEventManager) {}
[protected] _eventManagerConfigured => true
}
array_search - [internal], line ??
StopTheBokettchViewEventListener::beforeLayout() - APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94
CakeEventManager::dispatch() - CORE\Baser\Event\CakeEventManager.php, line 244
View::renderLayout() - CORE\Cake\View\View.php, line 524
View::render() - CORE\Cake\View\View.php, line 481
CakeEmail::_renderTemplates() - CORE\Cake\Network\Email\CakeEmail.php, line 1735
CakeEmail::_render() - CORE\Cake\Network\Email\CakeEmail.php, line 1587
CakeEmail::send() - CORE\Cake\Network\Email\CakeEmail.php, line 1181
BcAppController::sendMail() - CORE\Baser\Controller\BcAppController.php, line 1094
MailController::_sendEmail() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 586
MailController::submit() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 377
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - ROOT\index.php, line 123
Notice (8): Undefined index: currentUserAuthPrefixes [APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94]Code Context
// ログイン状態とサイト公開状態を判定し、どちらも true なら CSS を挿入
if (array_search('admin', $Subject->viewVars['currentUserAuthPrefixes']) !== null && ($Subject->viewVars['siteConfig']['maintenance'] !== '0')) {
$event = object(CakeEvent) {
data => array(
(int) 0 => '【ローカルのbaserCMSインストールパス】\lib\Baser\Plugin\Mail\View\Layouts\Emails\text\default.php'
)
result => null
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(BcAppView) {}
[protected] _stopped => false
}
$Subject = object(BcAppView) {
pageTitle => null
elementCache => '_cake_element_'
Helpers => object(HelperCollection) {}
Blocks => object(ViewBlock) {}
plugin => 'Mail'
name => null
passedArgs => array()
helpers => array(
(int) 0 => 'Html'
)
viewPath => 'Emails\text'
viewVars => array(
'message' => array(
[maximum depth reached]
),
'content' => array(
[maximum depth reached]
),
'mailFields' => array(
[maximum depth reached]
),
'mailContents' => array(
[maximum depth reached]
),
'mailConfig' => array(
[maximum depth reached]
),
'other' => array(
[maximum depth reached]
)
)
view => null
layout => 'default'
layoutPath => 'Emails\text'
autoLayout => true
ext => '.php'
subDir => null
theme => '【使用テーマ名】'
cacheAction => false
validationErrors => array()
hasRendered => false
uuids => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
elementCacheSettings => array()
Html => object(HtmlHelper) {}
Maildata => object(MaildataHelper) {}
[protected] _viewFilesLog => array()
[protected] _passedVars => array(
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'ext',
(int) 3 => 'helpers',
(int) 4 => 'view',
(int) 5 => 'layout',
(int) 6 => 'name',
(int) 7 => 'theme',
(int) 8 => 'layoutPath',
(int) 9 => 'viewPath',
(int) 10 => 'request',
(int) 11 => 'plugin',
(int) 12 => 'passedArgs',
(int) 13 => 'cacheAction',
(int) 14 => 'subDir',
(int) 15 => 'adminTheme',
(int) 16 => 'pageTitle',
(int) 17 => 'content',
(int) 18 => 'site'
)
[protected] _scripts => array()
[protected] _paths => array()
[protected] _pathsForPlugin => array()
[protected] _parents => array()
[protected] _current => '【ローカルのbaserCMSインストールパス】\theme\【使用テーマ名】\Emails\text\mail_default.php'
[protected] _currentType => 'view'
[protected] _stack => array()
[protected] _eventManager => object(CakeEventManager) {}
[protected] _eventManagerConfigured => true
}
StopTheBokettchViewEventListener::beforeLayout() - APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94
CakeEventManager::dispatch() - CORE\Baser\Event\CakeEventManager.php, line 244
View::renderLayout() - CORE\Cake\View\View.php, line 524
View::render() - CORE\Cake\View\View.php, line 481
CakeEmail::_renderTemplates() - CORE\Cake\Network\Email\CakeEmail.php, line 1735
CakeEmail::_render() - CORE\Cake\Network\Email\CakeEmail.php, line 1587
CakeEmail::send() - CORE\Cake\Network\Email\CakeEmail.php, line 1181
BcAppController::sendMail() - CORE\Baser\Controller\BcAppController.php, line 1094
MailController::_sendEmail() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 611
MailController::submit() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 377
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - ROOT\index.php, line 123
Warning (2): array_search() expects parameter 2 to be array, null given [APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94]Code Context
// ログイン状態とサイト公開状態を判定し、どちらも true なら CSS を挿入
if (array_search('admin', $Subject->viewVars['currentUserAuthPrefixes']) !== null && ($Subject->viewVars['siteConfig']['maintenance'] !== '0')) {
$event = object(CakeEvent) {
data => array(
(int) 0 => '【ローカルのbaserCMSインストールパス】\lib\Baser\Plugin\Mail\View\Layouts\Emails\text\default.php'
)
result => null
[protected] _name => 'View.beforeLayout'
[protected] _subject => object(BcAppView) {}
[protected] _stopped => false
}
$Subject = object(BcAppView) {
pageTitle => null
elementCache => '_cake_element_'
Helpers => object(HelperCollection) {}
Blocks => object(ViewBlock) {}
plugin => 'Mail'
name => null
passedArgs => array()
helpers => array(
(int) 0 => 'Html'
)
viewPath => 'Emails\text'
viewVars => array(
'message' => array(
[maximum depth reached]
),
'content' => array(
[maximum depth reached]
),
'mailFields' => array(
[maximum depth reached]
),
'mailContents' => array(
[maximum depth reached]
),
'mailConfig' => array(
[maximum depth reached]
),
'other' => array(
[maximum depth reached]
)
)
view => null
layout => 'default'
layoutPath => 'Emails\text'
autoLayout => true
ext => '.php'
subDir => null
theme => '【使用テーマ名】'
cacheAction => false
validationErrors => array()
hasRendered => false
uuids => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
elementCacheSettings => array()
Html => object(HtmlHelper) {}
Maildata => object(MaildataHelper) {}
[protected] _viewFilesLog => array()
[protected] _passedVars => array(
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'ext',
(int) 3 => 'helpers',
(int) 4 => 'view',
(int) 5 => 'layout',
(int) 6 => 'name',
(int) 7 => 'theme',
(int) 8 => 'layoutPath',
(int) 9 => 'viewPath',
(int) 10 => 'request',
(int) 11 => 'plugin',
(int) 12 => 'passedArgs',
(int) 13 => 'cacheAction',
(int) 14 => 'subDir',
(int) 15 => 'adminTheme',
(int) 16 => 'pageTitle',
(int) 17 => 'content',
(int) 18 => 'site'
)
[protected] _scripts => array()
[protected] _paths => array()
[protected] _pathsForPlugin => array()
[protected] _parents => array()
[protected] _current => '【ローカルのbaserCMSインストールパス】\theme\【使用テーマ名】\Emails\text\mail_default.php'
[protected] _currentType => 'view'
[protected] _stack => array()
[protected] _eventManager => object(CakeEventManager) {}
[protected] _eventManagerConfigured => true
}
array_search - [internal], line ??
StopTheBokettchViewEventListener::beforeLayout() - APP\Plugin\StopTheBokettch\Event\StopTheBokettchViewEventListener.php, line 94
CakeEventManager::dispatch() - CORE\Baser\Event\CakeEventManager.php, line 244
View::renderLayout() - CORE\Cake\View\View.php, line 524
View::render() - CORE\Cake\View\View.php, line 481
CakeEmail::_renderTemplates() - CORE\Cake\Network\Email\CakeEmail.php, line 1735
CakeEmail::_render() - CORE\Cake\Network\Email\CakeEmail.php, line 1587
CakeEmail::send() - CORE\Cake\Network\Email\CakeEmail.php, line 1181
BcAppController::sendMail() - CORE\Baser\Controller\BcAppController.php, line 1094
MailController::_sendEmail() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 611
MailController::submit() - CORE\Baser\Plugin\Mail\Controller\MailController.php, line 377
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - ROOT\index.php, line 123