Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
}
$numFields = (int) 2
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$selects = array(
(int) 0 => '"SiteConfig"."name"',
(int) 1 => '"SiteConfig"."value"'
)
$selectpart = '"SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$part = '"SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$fromPos = (int) 20
$columnMeta = array(
'SiteConfig' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'value' => array(
'cid' => '2',
'name' => 'value',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '3',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"SiteConfig"."value"'
$matches = array()
$columnName = 'SiteConfig.name'
$table = 'SiteConfig'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(site_configs)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'value',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'site_configs',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcAppModel::findExpanded() - CORE/Baser/Model/BcAppModel.php, line 1044
loadSiteConfig - CORE/Baser/basics.php, line 724
require - CORE/Baser/Config/bootstrap.php, line 271
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
}
$numFields = (int) 2
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$selects = array(
(int) 0 => '"SiteConfig"."name"',
(int) 1 => '"SiteConfig"."value"'
)
$selectpart = '"SiteConfig"."name", "SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$part = '"SiteConfig"."value" FROM "main"."site_configs" AS "SiteConfig" WHERE 1 = 1'
$fromPos = (int) 20
$columnMeta = array(
'SiteConfig' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'value' => array(
'cid' => '2',
'name' => 'value',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '3',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"SiteConfig"."value"'
$matches = array()
$columnName = 'SiteConfig.value'
$table = 'SiteConfig'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(site_configs)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'value',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '4',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'site_configs',
'flags' => array(),
'name' => 'value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'SiteConfig',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcAppModel::findExpanded() - CORE/Baser/Model/BcAppModel.php, line 1044
loadSiteConfig - CORE/Baser/basics.php, line 724
require - CORE/Baser/Config/bootstrap.php, line 271
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'sites',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.main_site_id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'main_site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'main_site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.display_name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'display_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.title'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'sites',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'display_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.alias'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'alias',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.theme'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'theme',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'alias'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.status'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'theme'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.keyword'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'keyword',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.description'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'keyword'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.use_subdomain'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'use_subdomain',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.relate_main_site'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'relate_main_site',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'use_subdomain'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.device'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'device',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'relate_main_site'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.lang'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'lang',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'device'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.same_main_url'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'same_main_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'lang'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_redirect'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_redirect',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'same_main_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_link'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_redirect'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.domain_type'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'domain_type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.created'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'domain_type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
}
$numFields = (int) 20
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE 1 = 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.modified'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
BcSite::findAll() - CORE/Baser/Lib/BcSite.php, line 299
require - CORE/Baser/Config/bootstrap.php, line 307
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 0
$j = (int) 0
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'cid'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'cid',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 1
$j = (int) 1
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'name'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 2
$j = (int) 2
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'type'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 3
$j = (int) 3
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'notnull'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'notnull',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 4
$j = (int) 4
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'dflt_value'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'dflt_value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$numFields = (int) 6
$index = (int) 5
$j = (int) 5
$querystring = 'PRAGMA table_info(plugins)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'pk'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'pk',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.id'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'plugins',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.name'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'plugins',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.title'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'plugins',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.version'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(100)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(100)',
'table' => 'plugins',
'flags' => array(),
'name' => 'version',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.status'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'plugins',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'version'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.db_inited'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'plugins',
'flags' => array(),
'name' => 'db_inited',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.priority'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'plugins',
'flags' => array(),
'name' => 'priority',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'db_inited'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.created'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'plugins',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'priority'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
}
$numFields = (int) 9
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$selects = array(
(int) 0 => '"Plugin"."id"',
(int) 1 => '"Plugin"."name"',
(int) 2 => '"Plugin"."title"',
(int) 3 => '"Plugin"."version"',
(int) 4 => '"Plugin"."status"',
(int) 5 => '"Plugin"."db_inited"',
(int) 6 => '"Plugin"."priority"',
(int) 7 => '"Plugin"."created"',
(int) 8 => '"Plugin"."modified"'
)
$selectpart = '"Plugin"."id", "Plugin"."name", "Plugin"."title", "Plugin"."version", "Plugin"."status", "Plugin"."db_inited", "Plugin"."priority", "Plugin"."created", "Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$part = '"Plugin"."modified" FROM "main"."plugins" AS "Plugin" WHERE "Plugin"."status" = '1' ORDER BY "Plugin"."priority" ASC'
$fromPos = (int) 19
$columnMeta = array(
'Plugin' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'version' => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'db_inited' => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'priority' => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Plugin"."modified"'
$matches = array()
$columnName = 'Plugin.modified'
$table = 'Plugin'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(plugins)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'title',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'version',
'type' => 'varchar(100)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'db_inited',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'priority',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '8',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'plugins',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Plugin',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
getEnablePlugins - CORE/Baser/basics.php, line 680
require - CORE/Baser/Config/bootstrap.php, line 315
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 0
$j = (int) 0
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'cid'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'cid',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 1
$j = (int) 1
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'name'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 2
$j = (int) 2
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'type'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 3
$j = (int) 3
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'notnull'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'notnull',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 4
$j = (int) 4
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'dflt_value'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'dflt_value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$numFields = (int) 6
$index = (int) 5
$j = (int) 5
$querystring = 'PRAGMA table_info(contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'pk'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'pk',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::hasField() - CORE/Cake/Model/Model.php, line 1490
SoftDeleteBehavior::setup() - CORE/Baser/Model/Behavior/SoftDeleteBehavior.php, line 54
BehaviorCollection::load() - CORE/Cake/Model/BehaviorCollection.php, line 145
BehaviorCollection::init() - CORE/Cake/Model/BehaviorCollection.php, line 66
Model::__construct() - CORE/Cake/Model/Model.php, line 781
BcAppModel::__construct() - CORE/Baser/Model/BcAppModel.php, line 52
Content::__construct() - CORE/Baser/Model/Content.php, line 124
ReflectionClass::newInstance() - [internal], line ??
ClassRegistry::init() - CORE/Cake/Utility/ClassRegistry.php, line 169
Model::_constructLinkedModel() - CORE/Cake/Model/Model.php, line 1084
Model::__isset() - CORE/Cake/Model/Model.php, line 893
Model::__get() - CORE/Cake/Model/Model.php, line 926
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 0
$j = (int) 0
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'cid'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'cid',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 1
$j = (int) 1
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'name'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 2
$j = (int) 2
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'type'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 3
$j = (int) 3
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'notnull'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'notnull',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 4
$j = (int) 4
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'dflt_value'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'dflt_value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(blog_contents)'
}
$numFields = (int) 6
$index = (int) 5
$j = (int) 5
$querystring = 'PRAGMA table_info(blog_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'pk'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'pk',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.description'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.template'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(20)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(20)',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.list_count'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'list_count',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.list_direction'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(4)',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'list_direction',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'list_count'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.feed_count'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'feed_count',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'list_direction'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.tag_use'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'tag_use',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'feed_count'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.comment_use'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'comment_use',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'tag_use'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.comment_approve'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'comment_approve',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'comment_use'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.auth_captcha'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'auth_captcha',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'comment_approve'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.widget_area'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'widget_area',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'auth_captcha'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.eye_catch_size'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'eye_catch_size',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'widget_area'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.use_content'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'use_content',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'eye_catch_size'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.created'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'use_content'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'BlogContent.modified'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'blog_contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'BlogContent',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.name'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.plugin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'plugin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.type'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'plugin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.entity_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'entity_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 20
$j = (int) 20
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.url'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'entity_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 21
$j = (int) 21
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.site_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 22
$j = (int) 22
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.alias_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'alias_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 23
$j = (int) 23
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.main_site_content_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'main_site_content_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'alias_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 24
$j = (int) 24
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.parent_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'parent_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'main_site_content_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 25
$j = (int) 25
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.lft'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'lft',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'parent_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 26
$j = (int) 26
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.rght'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'rght',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'lft'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 27
$j = (int) 27
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.level'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'level',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'rght'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 28
$j = (int) 28
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.title'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'level'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 29
$j = (int) 29
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.description'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 30
$j = (int) 30
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.eyecatch'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'eyecatch',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 31
$j = (int) 31
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.author_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'author_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'eyecatch'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 32
$j = (int) 32
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.layout_template'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'contents',
'flags' => array(),
'name' => 'layout_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'author_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 33
$j = (int) 33
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.status'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'layout_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 34
$j = (int) 34
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.publish_begin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 35
$j = (int) 35
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.publish_end'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 36
$j = (int) 36
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_status'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'self_status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 37
$j = (int) 37
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_publish_begin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 38
$j = (int) 38
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_publish_end'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 39
$j = (int) 39
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.exclude_search'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_search',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 40
$j = (int) 40
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.created_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_search'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 41
$j = (int) 41
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.modified_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 42
$j = (int) 42
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.site_root'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'site_root',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 43
$j = (int) 43
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.deleted_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_root'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 44
$j = (int) 44
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.deleted'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 45
$j = (int) 45
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.exclude_menu'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_menu',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 46
$j = (int) 46
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.blank_link'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'blank_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_menu'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 47
$j = (int) 47
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.created'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'blank_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 49
$index = (int) 48
$j = (int) 48
$querystring = 'SELECT "BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"BlogContent"."id"',
(int) 1 => '"BlogContent"."description"',
(int) 2 => '"BlogContent"."template"',
(int) 3 => '"BlogContent"."list_count"',
(int) 4 => '"BlogContent"."list_direction"',
(int) 5 => '"BlogContent"."feed_count"',
(int) 6 => '"BlogContent"."tag_use"',
(int) 7 => '"BlogContent"."comment_use"',
(int) 8 => '"BlogContent"."comment_approve"',
(int) 9 => '"BlogContent"."auth_captcha"',
(int) 10 => '"BlogContent"."widget_area"',
(int) 11 => '"BlogContent"."eye_catch_size"',
(int) 12 => '"BlogContent"."use_content"',
(int) 13 => '"BlogContent"."created"',
(int) 14 => '"BlogContent"."modified"',
(int) 15 => '"Content"."id"',
(int) 16 => '"Content"."name"',
(int) 17 => '"Content"."plugin"',
(int) 18 => '"Content"."type"',
(int) 19 => '"Content"."entity_id"',
(int) 20 => '"Content"."url"',
(int) 21 => '"Content"."site_id"',
(int) 22 => '"Content"."alias_id"',
(int) 23 => '"Content"."main_site_content_id"',
(int) 24 => '"Content"."parent_id"',
(int) 25 => '"Content"."lft"',
(int) 26 => '"Content"."rght"',
(int) 27 => '"Content"."level"',
(int) 28 => '"Content"."title"',
(int) 29 => '"Content"."description"',
(int) 30 => '"Content"."eyecatch"',
(int) 31 => '"Content"."author_id"',
(int) 32 => '"Content"."layout_template"',
(int) 33 => '"Content"."status"',
(int) 34 => '"Content"."publish_begin"',
(int) 35 => '"Content"."publish_end"',
(int) 36 => '"Content"."self_status"',
(int) 37 => '"Content"."self_publish_begin"',
(int) 38 => '"Content"."self_publish_end"',
(int) 39 => '"Content"."exclude_search"',
(int) 40 => '"Content"."created_date"',
(int) 41 => '"Content"."modified_date"',
(int) 42 => '"Content"."site_root"',
(int) 43 => '"Content"."deleted_date"',
(int) 44 => '"Content"."deleted"',
(int) 45 => '"Content"."exclude_menu"',
(int) 46 => '"Content"."blank_link"',
(int) 47 => '"Content"."created"',
(int) 48 => '"Content"."modified"'
)
$selectpart = '"BlogContent"."id", "BlogContent"."description", "BlogContent"."template", "BlogContent"."list_count", "BlogContent"."list_direction", "BlogContent"."feed_count", "BlogContent"."tag_use", "BlogContent"."comment_use", "BlogContent"."comment_approve", "BlogContent"."auth_captcha", "BlogContent"."widget_area", "BlogContent"."eye_catch_size", "BlogContent"."use_content", "BlogContent"."created", "BlogContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."blog_contents" AS "BlogContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "BlogContent"."id" AND "Content"."type" = 'BlogContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'BlogContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'template' => array(
'cid' => '2',
'name' => 'template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_count' => array(
'cid' => '3',
'name' => 'list_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'list_direction' => array(
'cid' => '4',
'name' => 'list_direction',
'type' => 'varchar(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'feed_count' => array(
'cid' => '5',
'name' => 'feed_count',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'tag_use' => array(
'cid' => '6',
'name' => 'tag_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_use' => array(
'cid' => '7',
'name' => 'comment_use',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'comment_approve' => array(
'cid' => '8',
'name' => 'comment_approve',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '9',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '10',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eye_catch_size' => array(
'cid' => '11',
'name' => 'eye_catch_size',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_content' => array(
'cid' => '12',
'name' => 'use_content',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '13',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '14',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.modified'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Blog/Config/setting.php, line 24
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 0
$j = (int) 0
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'cid'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'cid',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 1
$j = (int) 1
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'name'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 2
$j = (int) 2
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'type'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 3
$j = (int) 3
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'notnull'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'notnull',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 4
$j = (int) 4
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'dflt_value'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'dflt_value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(mail_contents)'
}
$numFields = (int) 6
$index = (int) 5
$j = (int) 5
$querystring = 'PRAGMA table_info(mail_contents)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'pk'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'pk',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::generateAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1878
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1226
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.description'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.sender_1'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'sender_1',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.sender_2'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'sender_2',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'sender_1'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.sender_name'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'sender_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'sender_2'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.subject_user'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'subject_user',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'sender_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.subject_admin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'subject_admin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'subject_user'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.form_template'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(20)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(20)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'form_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'subject_admin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.mail_template'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(20)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(20)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'mail_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'form_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.redirect_url'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'redirect_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'mail_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.auth_captcha'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'auth_captcha',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'redirect_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.widget_area'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'widget_area',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'auth_captcha'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.ssl_on'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'ssl_on',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'widget_area'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.save_info'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'save_info',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'ssl_on'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.publish_begin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'save_info'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.publish_end'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.created'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'MailContent.modified'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'mail_contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'MailContent',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.name'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 20
$j = (int) 20
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.plugin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'plugin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 21
$j = (int) 21
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.type'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'plugin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 22
$j = (int) 22
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.entity_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'entity_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 23
$j = (int) 23
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.url'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'entity_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 24
$j = (int) 24
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.site_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 25
$j = (int) 25
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.alias_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'alias_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 26
$j = (int) 26
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.main_site_content_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'main_site_content_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'alias_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 27
$j = (int) 27
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.parent_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'parent_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'main_site_content_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 28
$j = (int) 28
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.lft'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'lft',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'parent_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 29
$j = (int) 29
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.rght'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'rght',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'lft'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 30
$j = (int) 30
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.level'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'level',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'rght'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 31
$j = (int) 31
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.title'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'level'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 32
$j = (int) 32
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.description'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 33
$j = (int) 33
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.eyecatch'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'eyecatch',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 34
$j = (int) 34
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.author_id'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'author_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'eyecatch'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 35
$j = (int) 35
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.layout_template'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'contents',
'flags' => array(),
'name' => 'layout_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'author_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 36
$j = (int) 36
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.status'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'layout_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 37
$j = (int) 37
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.publish_begin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 38
$j = (int) 38
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.publish_end'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 39
$j = (int) 39
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_status'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'self_status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 40
$j = (int) 40
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_publish_begin'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 41
$j = (int) 41
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.self_publish_end'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 42
$j = (int) 42
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.exclude_search'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_search',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 43
$j = (int) 43
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.created_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_search'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 44
$j = (int) 44
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.modified_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 45
$j = (int) 45
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.site_root'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'site_root',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 46
$j = (int) 46
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.deleted_date'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_root'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 47
$j = (int) 47
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.deleted'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 48
$j = (int) 48
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.exclude_menu'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_menu',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 49
$j = (int) 49
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.blank_link'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'blank_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_menu'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 50
$j = (int) 50
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.created'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'blank_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
}
$numFields = (int) 52
$index = (int) 51
$j = (int) 51
$querystring = 'SELECT "MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$selects = array(
(int) 0 => '"MailContent"."id"',
(int) 1 => '"MailContent"."description"',
(int) 2 => '"MailContent"."sender_1"',
(int) 3 => '"MailContent"."sender_2"',
(int) 4 => '"MailContent"."sender_name"',
(int) 5 => '"MailContent"."subject_user"',
(int) 6 => '"MailContent"."subject_admin"',
(int) 7 => '"MailContent"."form_template"',
(int) 8 => '"MailContent"."mail_template"',
(int) 9 => '"MailContent"."redirect_url"',
(int) 10 => '"MailContent"."auth_captcha"',
(int) 11 => '"MailContent"."widget_area"',
(int) 12 => '"MailContent"."ssl_on"',
(int) 13 => '"MailContent"."save_info"',
(int) 14 => '"MailContent"."publish_begin"',
(int) 15 => '"MailContent"."publish_end"',
(int) 16 => '"MailContent"."created"',
(int) 17 => '"MailContent"."modified"',
(int) 18 => '"Content"."id"',
(int) 19 => '"Content"."name"',
(int) 20 => '"Content"."plugin"',
(int) 21 => '"Content"."type"',
(int) 22 => '"Content"."entity_id"',
(int) 23 => '"Content"."url"',
(int) 24 => '"Content"."site_id"',
(int) 25 => '"Content"."alias_id"',
(int) 26 => '"Content"."main_site_content_id"',
(int) 27 => '"Content"."parent_id"',
(int) 28 => '"Content"."lft"',
(int) 29 => '"Content"."rght"',
(int) 30 => '"Content"."level"',
(int) 31 => '"Content"."title"',
(int) 32 => '"Content"."description"',
(int) 33 => '"Content"."eyecatch"',
(int) 34 => '"Content"."author_id"',
(int) 35 => '"Content"."layout_template"',
(int) 36 => '"Content"."status"',
(int) 37 => '"Content"."publish_begin"',
(int) 38 => '"Content"."publish_end"',
(int) 39 => '"Content"."self_status"',
(int) 40 => '"Content"."self_publish_begin"',
(int) 41 => '"Content"."self_publish_end"',
(int) 42 => '"Content"."exclude_search"',
(int) 43 => '"Content"."created_date"',
(int) 44 => '"Content"."modified_date"',
(int) 45 => '"Content"."site_root"',
(int) 46 => '"Content"."deleted_date"',
(int) 47 => '"Content"."deleted"',
(int) 48 => '"Content"."exclude_menu"',
(int) 49 => '"Content"."blank_link"',
(int) 50 => '"Content"."created"',
(int) 51 => '"Content"."modified"'
)
$selectpart = '"MailContent"."id", "MailContent"."description", "MailContent"."sender_1", "MailContent"."sender_2", "MailContent"."sender_name", "MailContent"."subject_user", "MailContent"."subject_admin", "MailContent"."form_template", "MailContent"."mail_template", "MailContent"."redirect_url", "MailContent"."auth_captcha", "MailContent"."widget_area", "MailContent"."ssl_on", "MailContent"."save_info", "MailContent"."publish_begin", "MailContent"."publish_end", "MailContent"."created", "MailContent"."modified", "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$part = '"Content"."modified" FROM "main"."mail_contents" AS "MailContent" LEFT JOIN "main"."contents" AS "Content" ON ("Content"."entity_id" = "MailContent"."id" AND "Content"."type" = 'MailContent' AND "Content"."alias_id" IS NULL) WHERE (("Content"."status" = '1') AND ((("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00'))) AND ((("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00'))))'
$fromPos = (int) 20
$columnMeta = array(
'MailContent' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'description' => array(
'cid' => '1',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_1' => array(
'cid' => '2',
'name' => 'sender_1',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_2' => array(
'cid' => '3',
'name' => 'sender_2',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'sender_name' => array(
'cid' => '4',
'name' => 'sender_name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_user' => array(
'cid' => '5',
'name' => 'subject_user',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'subject_admin' => array(
'cid' => '6',
'name' => 'subject_admin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'form_template' => array(
'cid' => '7',
'name' => 'form_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'mail_template' => array(
'cid' => '8',
'name' => 'mail_template',
'type' => 'varchar(20)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'redirect_url' => array(
'cid' => '9',
'name' => 'redirect_url',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'auth_captcha' => array(
'cid' => '10',
'name' => 'auth_captcha',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'widget_area' => array(
'cid' => '11',
'name' => 'widget_area',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'ssl_on' => array(
'cid' => '12',
'name' => 'ssl_on',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'save_info' => array(
'cid' => '13',
'name' => 'save_info',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '14',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '15',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '16',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '17',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Content"."modified"'
$matches = array()
$columnName = 'Content.modified'
$table = 'Content'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(contents)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 20 => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 21 => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 22 => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 23 => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 24 => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 25 => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 26 => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 27 => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 28 => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 29 => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 30 => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 31 => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 32 => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 33 => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Mail/Config/setting.php, line 25
PhpReader::read() - CORE/Cake/Configure/PhpReader.php, line 72
Configure::load() - CORE/Cake/Core/Configure.php, line 332
loadPlugin - CORE/Baser/basics.php, line 917
require - CORE/Baser/Config/bootstrap.php, line 317
include - APP/Config/bootstrap.php, line 128
Configure::bootstrap() - CORE/Cake/Core/Configure.php, line 98
include - CORE/Cake/bootstrap.php, line 432
[main] - ROOT/index.php, line 108 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 0
$j = (int) 0
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'cid'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'cid',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 1
$j = (int) 1
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'name'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 2
$j = (int) 2
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'type'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 3
$j = (int) 3
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'notnull'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'notnull',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 4
$j = (int) 4
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'dflt_value'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'dflt_value',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$numFields = (int) 6
$index = (int) 5
$j = (int) 5
$querystring = 'PRAGMA table_info(sites)'
$selects = array(
(int) 0 => 'cid',
(int) 1 => 'name',
(int) 2 => 'type',
(int) 3 => 'notnull',
(int) 4 => 'dflt_value',
(int) 5 => 'pk'
)
$columnMeta = array()
$select = 'pk'
$matches = array()
$columnName = 'pk'
$metaType = false
$metaData = array(
'native_type' => 'null',
'flags' => array(),
'name' => 'pk',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
BcSqlite::describe() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 1051
Model::schema() - CORE/Cake/Model/Model.php, line 1397
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1438
DboSource::_parseKey() - CORE/Baser/Model/Datasource/DboSource.php, line 2957
DboSource::conditionKeysToString() - CORE/Baser/Model/Datasource/DboSource.php, line 2903
DboSource::conditions() - CORE/Baser/Model/Datasource/DboSource.php, line 2784
DboSource::buildStatement() - CORE/Baser/Model/Datasource/DboSource.php, line 2066
DboSource::buildAssociationQuery() - CORE/Baser/Model/Datasource/DboSource.php, line 1784
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1237
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'sites',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.main_site_id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'main_site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'main_site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.display_name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'display_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.title'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'sites',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'display_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.alias'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'alias',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.theme'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'theme',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'alias'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.status'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'theme'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.keyword'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'keyword',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.description'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'keyword'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.use_subdomain'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'use_subdomain',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.relate_main_site'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'relate_main_site',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'use_subdomain'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.device'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'device',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'relate_main_site'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.lang'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'lang',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'device'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.same_main_url'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'same_main_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'lang'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_redirect'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_redirect',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'same_main_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_link'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_redirect'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.domain_type'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'domain_type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.created'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'domain_type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
}
$numFields = (int) 20
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE "name" = 'smartphone' LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.modified'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
include - CORE/Baser/Plugin/Feed/Config/routes.php, line 24
CakePlugin::_includeFile() - CORE/Cake/Core/CakePlugin.php, line 286
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 240
CakePlugin::routes() - CORE/Cake/Core/CakePlugin.php, line 230
include - APP/Config/routes.php, line 42
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'sites',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.main_site_id'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'main_site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'main_site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.display_name'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'display_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.title'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'sites',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'display_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.alias'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'alias',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.theme'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'theme',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'alias'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.status'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'theme'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.keyword'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'keyword',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.description'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'keyword'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.use_subdomain'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'use_subdomain',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.relate_main_site'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'relate_main_site',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'use_subdomain'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.device'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'device',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'relate_main_site'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.lang'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'lang',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'device'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.same_main_url'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'same_main_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'lang'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_redirect'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_redirect',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'same_main_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.auto_link'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_redirect'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.domain_type'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'domain_type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.created'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'domain_type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
}
$numFields = (int) 20
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$selects = array(
(int) 0 => '"Site"."id"',
(int) 1 => '"Site"."main_site_id"',
(int) 2 => '"Site"."name"',
(int) 3 => '"Site"."display_name"',
(int) 4 => '"Site"."title"',
(int) 5 => '"Site"."alias"',
(int) 6 => '"Site"."theme"',
(int) 7 => '"Site"."status"',
(int) 8 => '"Site"."keyword"',
(int) 9 => '"Site"."description"',
(int) 10 => '"Site"."use_subdomain"',
(int) 11 => '"Site"."relate_main_site"',
(int) 12 => '"Site"."device"',
(int) 13 => '"Site"."lang"',
(int) 14 => '"Site"."same_main_url"',
(int) 15 => '"Site"."auto_redirect"',
(int) 16 => '"Site"."auto_link"',
(int) 17 => '"Site"."domain_type"',
(int) 18 => '"Site"."created"',
(int) 19 => '"Site"."modified"'
)
$selectpart = '"Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$part = '"Site"."modified" FROM "main"."sites" AS "Site" WHERE (("Site"."name" = 'maintenance_work') OR ("Site"."alias" = 'maintenance_work')) LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"Site"."modified"'
$matches = array()
$columnName = 'Site.modified'
$table = 'Site'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(sites)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 10 => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 11 => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 12 => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 13 => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 14 => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 15 => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 16 => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 17 => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
(int) 18 => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 19 => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Site::findByUrl() - CORE/Baser/Model/Site.php, line 425
require - CORE/Baser/Config/routes.php, line 114
include - APP/Config/routes.php, line 51
Router::_loadRoutes() - CORE/Baser/Routing/Router.php, line 1277
Router::parse() - CORE/Baser/Routing/Router.php, line 595
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.plugin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'plugin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.type'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'plugin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.entity_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'entity_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.url'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'entity_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.site_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.alias_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'alias_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.main_site_content_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'main_site_content_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'alias_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.parent_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'parent_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'main_site_content_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.lft'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'lft',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'parent_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.rght'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'rght',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'lft'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.level'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'level',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'rght'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.title'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'level'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.description'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.eyecatch'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'eyecatch',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.author_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'author_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'eyecatch'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.layout_template'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'contents',
'flags' => array(),
'name' => 'layout_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'author_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'layout_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.publish_begin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 20
$j = (int) 20
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.publish_end'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 21
$j = (int) 21
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'self_status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 22
$j = (int) 22
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_publish_begin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 23
$j = (int) 23
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_publish_end'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 24
$j = (int) 24
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.exclude_search'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_search',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 25
$j = (int) 25
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.created_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_search'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 26
$j = (int) 26
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.modified_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 27
$j = (int) 27
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.site_root'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'site_root',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 28
$j = (int) 28
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.deleted_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_root'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 29
$j = (int) 29
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.deleted'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 30
$j = (int) 30
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.exclude_menu'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_menu',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 31
$j = (int) 31
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.blank_link'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'blank_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_menu'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 32
$j = (int) 32
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'blank_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 33
$j = (int) 33
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 34
$j = (int) 34
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'sites',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 35
$j = (int) 35
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.main_site_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'main_site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 36
$j = (int) 36
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'main_site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 37
$j = (int) 37
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.display_name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'display_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 38
$j = (int) 38
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.title'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'sites',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'display_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 39
$j = (int) 39
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.alias'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'alias',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 40
$j = (int) 40
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.theme'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'theme',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'alias'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 41
$j = (int) 41
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'theme'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 42
$j = (int) 42
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.keyword'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'keyword',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 43
$j = (int) 43
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.description'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'keyword'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 44
$j = (int) 44
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.use_subdomain'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'use_subdomain',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 45
$j = (int) 45
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.relate_main_site'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'relate_main_site',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'use_subdomain'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 46
$j = (int) 46
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.device'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'device',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'relate_main_site'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 47
$j = (int) 47
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.lang'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'lang',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'device'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 48
$j = (int) 48
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.same_main_url'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'same_main_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'lang'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 49
$j = (int) 49
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.auto_redirect'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_redirect',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'same_main_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 50
$j = (int) 50
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.auto_link'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_redirect'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 51
$j = (int) 51
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.domain_type'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'domain_type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 52
$j = (int) 52
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'domain_type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 53
$j = (int) 53
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 54
$j = (int) 54
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'users',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 55
$j = (int) 55
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 56
$j = (int) 56
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.password'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'password',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 57
$j = (int) 57
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.real_name_1'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'users',
'flags' => array(),
'name' => 'real_name_1',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'password'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 58
$j = (int) 58
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.real_name_2'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'users',
'flags' => array(),
'name' => 'real_name_2',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'real_name_1'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 59
$j = (int) 59
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.email'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'email',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'real_name_2'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 60
$j = (int) 60
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.user_group_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'users',
'flags' => array(),
'name' => 'user_group_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'email'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 61
$j = (int) 61
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.nickname'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'nickname',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'user_group_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 62
$j = (int) 62
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'users',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'nickname'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 63
$j = (int) 63
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."url" = ('/maintenance_work/maintenance_works/login') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'users',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 84
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 0
$j = (int) 0
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'contents',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 1
$j = (int) 1
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 2
$j = (int) 2
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.plugin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'plugin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 3
$j = (int) 3
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.type'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'plugin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 4
$j = (int) 4
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.entity_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'entity_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 5
$j = (int) 5
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.url'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'entity_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 6
$j = (int) 6
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.site_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 7
$j = (int) 7
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.alias_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'alias_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 8
$j = (int) 8
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.main_site_content_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'main_site_content_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'alias_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 9
$j = (int) 9
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.parent_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'parent_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'main_site_content_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 10
$j = (int) 10
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.lft'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'lft',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'parent_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 11
$j = (int) 11
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.rght'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'rght',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'lft'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 12
$j = (int) 12
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.level'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'level',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'rght'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 13
$j = (int) 13
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.title'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'level'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 14
$j = (int) 14
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.description'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'contents',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 15
$j = (int) 15
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.eyecatch'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'contents',
'flags' => array(),
'name' => 'eyecatch',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 16
$j = (int) 16
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.author_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'contents',
'flags' => array(),
'name' => 'author_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'eyecatch'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 17
$j = (int) 17
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.layout_template'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'contents',
'flags' => array(),
'name' => 'layout_template',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'author_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 18
$j = (int) 18
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'layout_template'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 19
$j = (int) 19
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.publish_begin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 20
$j = (int) 20
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.publish_end'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 21
$j = (int) 21
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'self_status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 22
$j = (int) 22
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_publish_begin'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_begin',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 23
$j = (int) 23
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.self_publish_end'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'self_publish_end',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_begin'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 24
$j = (int) 24
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.exclude_search'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_search',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'self_publish_end'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 25
$j = (int) 25
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.created_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_search'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 26
$j = (int) 26
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.modified_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 27
$j = (int) 27
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.site_root'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'site_root',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 28
$j = (int) 28
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.deleted_date'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted_date',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'site_root'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 29
$j = (int) 29
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.deleted'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'deleted',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted_date'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 30
$j = (int) 30
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.exclude_menu'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'exclude_menu',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'deleted'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 31
$j = (int) 31
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.blank_link'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'contents',
'flags' => array(),
'name' => 'blank_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'exclude_menu'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 32
$j = (int) 32
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'blank_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 33
$j = (int) 33
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Content.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'contents',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 34
$j = (int) 34
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'sites',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Content',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 35
$j = (int) 35
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.main_site_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'main_site_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 36
$j = (int) 36
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'main_site_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 37
$j = (int) 37
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.display_name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'display_name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 38
$j = (int) 38
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.title'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'sites',
'flags' => array(),
'name' => 'title',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'display_name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 39
$j = (int) 39
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.alias'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'alias',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'title'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 40
$j = (int) 40
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.theme'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'theme',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'alias'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 41
$j = (int) 41
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.status'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'status',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'theme'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 42
$j = (int) 42
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.keyword'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'keyword',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'status'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 43
$j = (int) 43
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.description'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'text'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'text',
'table' => 'sites',
'flags' => array(),
'name' => 'description',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'keyword'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 44
$j = (int) 44
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.use_subdomain'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'use_subdomain',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'description'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 45
$j = (int) 45
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.relate_main_site'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'relate_main_site',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'use_subdomain'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 46
$j = (int) 46
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.device'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'device',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'relate_main_site'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 47
$j = (int) 47
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.lang'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'sites',
'flags' => array(),
'name' => 'lang',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'device'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 48
$j = (int) 48
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.same_main_url'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'same_main_url',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'lang'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 49
$j = (int) 49
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.auto_redirect'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_redirect',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'same_main_url'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 50
$j = (int) 50
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.auto_link'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'boolean'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'boolean',
'table' => 'sites',
'flags' => array(),
'name' => 'auto_link',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_redirect'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 51
$j = (int) 51
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.domain_type'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(8)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(8)',
'table' => 'sites',
'flags' => array(),
'name' => 'domain_type',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'auto_link'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 52
$j = (int) 52
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'domain_type'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 53
$j = (int) 53
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'Site.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'sites',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 54
$j = (int) 54
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer',
'table' => 'users',
'flags' => array(),
'name' => 'id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'Site',
(int) 1 => 'modified'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 55
$j = (int) 55
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.name'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'name',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 56
$j = (int) 56
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.password'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'password',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'name'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 57
$j = (int) 57
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.real_name_1'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'users',
'flags' => array(),
'name' => 'real_name_1',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'password'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 58
$j = (int) 58
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.real_name_2'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(50)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(50)',
'table' => 'users',
'flags' => array(),
'name' => 'real_name_2',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'real_name_1'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 59
$j = (int) 59
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.email'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'email',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'real_name_2'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 60
$j = (int) 60
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.user_group_id'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'integer(4)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'integer(4)',
'table' => 'users',
'flags' => array(),
'name' => 'user_group_id',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'email'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 61
$j = (int) 61
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.nickname'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'varchar(255)'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'varchar(255)',
'table' => 'users',
'flags' => array(),
'name' => 'nickname',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'user_group_id'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 62
$j = (int) 62
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.created'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'users',
'flags' => array(),
'name' => 'created',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'nickname'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123 Notice (8) : Undefined offset: 0 [CORE/Baser/Model/Datasource/Database/BcSqlite.php , line 495 ]Code Context // 型情報が取得できない問題を改善
// >>>
if( $metaData [ 0 ] === false ) { $results = object(PDOStatement) {
queryString => 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
}
$numFields = (int) 64
$index = (int) 63
$j = (int) 63
$querystring = 'SELECT "Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$selects = array(
(int) 0 => '"Content"."id"',
(int) 1 => '"Content"."name"',
(int) 2 => '"Content"."plugin"',
(int) 3 => '"Content"."type"',
(int) 4 => '"Content"."entity_id"',
(int) 5 => '"Content"."url"',
(int) 6 => '"Content"."site_id"',
(int) 7 => '"Content"."alias_id"',
(int) 8 => '"Content"."main_site_content_id"',
(int) 9 => '"Content"."parent_id"',
(int) 10 => '"Content"."lft"',
(int) 11 => '"Content"."rght"',
(int) 12 => '"Content"."level"',
(int) 13 => '"Content"."title"',
(int) 14 => '"Content"."description"',
(int) 15 => '"Content"."eyecatch"',
(int) 16 => '"Content"."author_id"',
(int) 17 => '"Content"."layout_template"',
(int) 18 => '"Content"."status"',
(int) 19 => '"Content"."publish_begin"',
(int) 20 => '"Content"."publish_end"',
(int) 21 => '"Content"."self_status"',
(int) 22 => '"Content"."self_publish_begin"',
(int) 23 => '"Content"."self_publish_end"',
(int) 24 => '"Content"."exclude_search"',
(int) 25 => '"Content"."created_date"',
(int) 26 => '"Content"."modified_date"',
(int) 27 => '"Content"."site_root"',
(int) 28 => '"Content"."deleted_date"',
(int) 29 => '"Content"."deleted"',
(int) 30 => '"Content"."exclude_menu"',
(int) 31 => '"Content"."blank_link"',
(int) 32 => '"Content"."created"',
(int) 33 => '"Content"."modified"',
(int) 34 => '"Site"."id"',
(int) 35 => '"Site"."main_site_id"',
(int) 36 => '"Site"."name"',
(int) 37 => '"Site"."display_name"',
(int) 38 => '"Site"."title"',
(int) 39 => '"Site"."alias"',
(int) 40 => '"Site"."theme"',
(int) 41 => '"Site"."status"',
(int) 42 => '"Site"."keyword"',
(int) 43 => '"Site"."description"',
(int) 44 => '"Site"."use_subdomain"',
(int) 45 => '"Site"."relate_main_site"',
(int) 46 => '"Site"."device"',
(int) 47 => '"Site"."lang"',
(int) 48 => '"Site"."same_main_url"',
(int) 49 => '"Site"."auto_redirect"',
(int) 50 => '"Site"."auto_link"',
(int) 51 => '"Site"."domain_type"',
(int) 52 => '"Site"."created"',
(int) 53 => '"Site"."modified"',
(int) 54 => '"User"."id"',
(int) 55 => '"User"."name"',
(int) 56 => '"User"."password"',
(int) 57 => '"User"."real_name_1"',
(int) 58 => '"User"."real_name_2"',
(int) 59 => '"User"."email"',
(int) 60 => '"User"."user_group_id"',
(int) 61 => '"User"."nickname"',
(int) 62 => '"User"."created"',
(int) 63 => '"User"."modified"'
)
$selectpart = '"Content"."id", "Content"."name", "Content"."plugin", "Content"."type", "Content"."entity_id", "Content"."url", "Content"."site_id", "Content"."alias_id", "Content"."main_site_content_id", "Content"."parent_id", "Content"."lft", "Content"."rght", "Content"."level", "Content"."title", "Content"."description", "Content"."eyecatch", "Content"."author_id", "Content"."layout_template", "Content"."status", "Content"."publish_begin", "Content"."publish_end", "Content"."self_status", "Content"."self_publish_begin", "Content"."self_publish_end", "Content"."exclude_search", "Content"."created_date", "Content"."modified_date", "Content"."site_root", "Content"."deleted_date", "Content"."deleted", "Content"."exclude_menu", "Content"."blank_link", "Content"."created", "Content"."modified", "Site"."id", "Site"."main_site_id", "Site"."name", "Site"."display_name", "Site"."title", "Site"."alias", "Site"."theme", "Site"."status", "Site"."keyword", "Site"."description", "Site"."use_subdomain", "Site"."relate_main_site", "Site"."device", "Site"."lang", "Site"."same_main_url", "Site"."auto_redirect", "Site"."auto_link", "Site"."domain_type", "Site"."created", "Site"."modified", "User"."id", "User"."name", "User"."password", "User"."real_name_1", "User"."real_name_2", "User"."email", "User"."user_group_id", "User"."nickname", "User"."created", "User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$part = '"User"."modified" FROM "main"."contents" AS "Content" LEFT JOIN "main"."sites" AS "Site" ON ("Content"."site_id" = "Site"."id") LEFT JOIN "main"."users" AS "User" ON ("Content"."author_id" = "User"."id") WHERE "Content"."type" <> 'Page' AND "Content"."url" IN ('/maintenance_work/maintenance_works/login', '/maintenance_work/maintenance_works/', '/maintenance_work/maintenance_works', '/maintenance_work/', '/maintenance_work') AND (("Site"."status" = '1') OR ("Site"."status" IS NULL)) AND (("Site"."same_main_url" = '0') OR ("Site"."same_main_url" IS NULL)) AND (("Site"."use_subdomain" = '0') OR ("Site"."use_subdomain" IS NULL)) AND "Content"."status" = '1' AND (("Content"."publish_begin" <= '2026-09-22 00:58:13') OR ("Content"."publish_begin" IS NULL) OR ("Content"."publish_begin" = '0000-00-00 00:00:00')) AND (("Content"."publish_end" >= '2026-09-22 00:58:13') OR ("Content"."publish_end" IS NULL) OR ("Content"."publish_end" = '0000-00-00 00:00:00')) AND "Content"."deleted" = '0' ORDER BY "Content"."url" DESC LIMIT 1'
$fromPos = (int) 17
$columnMeta = array(
'Content' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'plugin' => array(
'cid' => '2',
'name' => 'plugin',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'type' => array(
'cid' => '3',
'name' => 'type',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'entity_id' => array(
'cid' => '4',
'name' => 'entity_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'url' => array(
'cid' => '5',
'name' => 'url',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_id' => array(
'cid' => '6',
'name' => 'site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'alias_id' => array(
'cid' => '7',
'name' => 'alias_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'main_site_content_id' => array(
'cid' => '8',
'name' => 'main_site_content_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'parent_id' => array(
'cid' => '9',
'name' => 'parent_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lft' => array(
'cid' => '10',
'name' => 'lft',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'rght' => array(
'cid' => '11',
'name' => 'rght',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'level' => array(
'cid' => '12',
'name' => 'level',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '13',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '14',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'eyecatch' => array(
'cid' => '15',
'name' => 'eyecatch',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'author_id' => array(
'cid' => '16',
'name' => 'author_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'layout_template' => array(
'cid' => '17',
'name' => 'layout_template',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '18',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_begin' => array(
'cid' => '19',
'name' => 'publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'publish_end' => array(
'cid' => '20',
'name' => 'publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_status' => array(
'cid' => '21',
'name' => 'self_status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_begin' => array(
'cid' => '22',
'name' => 'self_publish_begin',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'self_publish_end' => array(
'cid' => '23',
'name' => 'self_publish_end',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_search' => array(
'cid' => '24',
'name' => 'exclude_search',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created_date' => array(
'cid' => '25',
'name' => 'created_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified_date' => array(
'cid' => '26',
'name' => 'modified_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'site_root' => array(
'cid' => '27',
'name' => 'site_root',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted_date' => array(
'cid' => '28',
'name' => 'deleted_date',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'deleted' => array(
'cid' => '29',
'name' => 'deleted',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'exclude_menu' => array(
'cid' => '30',
'name' => 'exclude_menu',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'blank_link' => array(
'cid' => '31',
'name' => 'blank_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '32',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '33',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'Site' => array(
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'main_site_id' => array(
'cid' => '1',
'name' => 'main_site_id',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'name' => array(
'cid' => '2',
'name' => 'name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'display_name' => array(
'cid' => '3',
'name' => 'display_name',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'title' => array(
'cid' => '4',
'name' => 'title',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'alias' => array(
'cid' => '5',
'name' => 'alias',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'theme' => array(
'cid' => '6',
'name' => 'theme',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'status' => array(
'cid' => '7',
'name' => 'status',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'keyword' => array(
'cid' => '8',
'name' => 'keyword',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'description' => array(
'cid' => '9',
'name' => 'description',
'type' => 'text',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'use_subdomain' => array(
'cid' => '10',
'name' => 'use_subdomain',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'relate_main_site' => array(
'cid' => '11',
'name' => 'relate_main_site',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'device' => array(
'cid' => '12',
'name' => 'device',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'lang' => array(
'cid' => '13',
'name' => 'lang',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'same_main_url' => array(
'cid' => '14',
'name' => 'same_main_url',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_redirect' => array(
'cid' => '15',
'name' => 'auto_redirect',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'auto_link' => array(
'cid' => '16',
'name' => 'auto_link',
'type' => 'boolean',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'domain_type' => array(
'cid' => '17',
'name' => 'domain_type',
'type' => 'integer(8)',
'notnull' => '0',
'dflt_value' => ''0'',
'pk' => '0'
),
'created' => array(
'cid' => '18',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '19',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
),
'User' => array(
'password' => '*****',
'id' => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
'name' => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_1' => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'real_name_2' => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'email' => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'user_group_id' => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'nickname' => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'created' => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
'modified' => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
)
$select = '"User"."modified"'
$matches = array()
$columnName = 'User.modified'
$table = 'User'
$pdo_statement = object(PDOStatement) {
queryString => 'PRAGMA table_info(users)'
}
$fields = array(
(int) 0 => array(
'cid' => '0',
'name' => 'id',
'type' => 'integer',
'notnull' => '0',
'dflt_value' => null,
'pk' => '1'
),
(int) 1 => array(
'cid' => '1',
'name' => 'name',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 2 => array(
'cid' => '2',
'name' => 'password',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 3 => array(
'cid' => '3',
'name' => 'real_name_1',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 4 => array(
'cid' => '4',
'name' => 'real_name_2',
'type' => 'varchar(50)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 5 => array(
'cid' => '5',
'name' => 'email',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 6 => array(
'cid' => '6',
'name' => 'user_group_id',
'type' => 'integer(4)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 7 => array(
'cid' => '7',
'name' => 'nickname',
'type' => 'varchar(255)',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 8 => array(
'cid' => '8',
'name' => 'created',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
),
(int) 9 => array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
)
$field = array(
'cid' => '9',
'name' => 'modified',
'type' => 'datetime',
'notnull' => '0',
'dflt_value' => 'NULL',
'pk' => '0'
)
$metaType = 'datetime'
$metaData = array(
'native_type' => 'null',
'sqlite:decl_type' => 'datetime',
'table' => 'users',
'flags' => array(),
'name' => 'modified',
'len' => (int) -1,
'precision' => (int) 0,
'pdo_type' => (int) 2
)
$parts = array(
(int) 0 => 'User',
(int) 1 => 'created'
) BcSqlite::resultSet() - CORE/Baser/Model/Datasource/Database/BcSqlite.php, line 495
DboSource::fetchRow() - CORE/Baser/Model/Datasource/DboSource.php, line 687
DboSource::fetchAll() - CORE/Baser/Model/Datasource/DboSource.php, line 733
DboSource::read() - CORE/Baser/Model/Datasource/DboSource.php, line 1239
BcAppModel::find() - CORE/Baser/Model/BcAppModel.php, line 1550
Content::findByUrl() - CORE/Baser/Model/Content.php, line 1895
BcContentsRoute::parse() - CORE/Baser/Routing/Route/BcContentsRoute.php, line 86
Router::parse() - CORE/Baser/Routing/Router.php, line 612
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Baser/Event/CakeEventManager.php, line 243
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - ROOT/index.php, line 123
ログイン認証|みんなの広報部カスタマーポータル|みんなの広報部カスタマーポータル