Notice (8): Undefined index: type_default [APP\controllers\webs_controller.php, line 231]Code |
Context
if($type_data != 6 && $type_data != 9 && $type_data != 12)
$type_data = $_SESSION['type_default'];
$type_data = null
WebsController::report() - APP\controllers\webs_controller.php, line 231
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 204
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
require - APP\webroot\index.php, line 83
[main] - CORE\index.php, line 55
Notice (8): Undefined variable: model_ref [APP\vendors\score2557.php, line 503]Code |
Context
////////////ดึงค่าข้อมูลอ้างอิงออกมา
$data_ref = $model_ref->find('count', array(
$year_id = "2"
$type = null
$Kpi_model = Kpi2_7
Kpi2_7::$name = "Kpi2_7"
Kpi2_7::$useTable = "kpi_2_7"
Kpi2_7::$useDbConfig = "default"
Kpi2_7::$displayField = "id"
Kpi2_7::$id = false
Kpi2_7::$data = array
Kpi2_7::$table = "kpi_2_7"
Kpi2_7::$primaryKey = "id"
Kpi2_7::$_schema = array
Kpi2_7::$validate = array
Kpi2_7::$validationErrors = array
Kpi2_7::$tablePrefix = ""
Kpi2_7::$alias = "Kpi2_7"
Kpi2_7::$tableToModel = array
Kpi2_7::$logTransactions = false
Kpi2_7::$cacheQueries = false
Kpi2_7::$belongsTo = array
Kpi2_7::$hasOne = array
Kpi2_7::$hasMany = array
Kpi2_7::$hasAndBelongsToMany = array
Kpi2_7::$actsAs = NULL
Kpi2_7::$Behaviors = BehaviorCollection object
Kpi2_7::$whitelist = array
Kpi2_7::$cacheSources = true
Kpi2_7::$findQueryType = NULL
Kpi2_7::$recursive = 1
Kpi2_7::$order = NULL
Kpi2_7::$virtualFields = array
Kpi2_7::$__associationKeys = array
Kpi2_7::$__associations = array
Kpi2_7::$__backAssociation = array
Kpi2_7::$__insertID = NULL
Kpi2_7::$__numRows = NULL
Kpi2_7::$__affectedRows = NULL
Kpi2_7::$_findMethods = array
$count_all = 0
$person_all = 100
$result_all = 0
$count_person = 0
Score::get_2_7() - APP\vendors\score2557.php, line 503
Result::result_kpi_score() - APP\vendors\result.php, line 657
Result::get_report() - APP\vendors\result.php, line 455
WebsController::report() - APP\controllers\webs_controller.php, line 308
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 204
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
require - APP\webroot\index.php, line 83
[main] - CORE\index.php, line 55
Fatal error: Call to a member function find() on a non-object in D:\Web\qa\pa\version2\app\vendors\score2557.php on line 503