Notice (8): Undefined index: Topic [APP/Controller/PracticsController.php, line 513]Code Context$subjectID=$this->Topic->find('first',array('fields'=>array('Topic.subject_id'),'conditions'=>array('Topic.id'=>$topic_id)));$Topics=$this->Topic->find('all',array('fields'=>array('Topic.id','Topic.name'),'conditions'=>array('Topic.status'=>1,'Topic.subject_id'=>$subjectID['Topic']['subject_id']),$topic_id = '1019' $Question = object(AppModel) { useDbConfig => 'default' useTable => 'questions' id => false data => array() schemaName => null table => 'questions' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null plugin => null name => 'Question' alias => 'Question' tableToModel => array( 'questions' => 'Question' ) cacheQueries => false belongsTo => array( 'topic' => array( [maximum depth reached] ), 'Qtype' => array( [maximum depth reached] ), 'Passage' => array( [maximum depth reached] ) ) hasOne => array() hasMany => array( 'QuestionsLang' => array( [maximum depth reached] ) ) hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array( 'hasMany' => array([maximum depth reached]), 'belongsTo' => array([maximum depth reached]) ) __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } $currentPage = '2' $subjectID = array()PracticsController::all() - APP/Controller/PracticsController.php, line 513 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
Error: The requested address '/Practics/all/1019/page:2' was not found on this server.
$this->set('topics',$Topics);$this->Paginator->settings = $this->paginate;$this->set('userExamQuestionArr', $this->Paginator->paginate($Question));// $this->set('userExamQuestionArr', $allquesattr);
object(AppModel) {
useDbConfig => 'default'
useTable => 'questions'
id => false
data => array([maximum depth reached])
schemaName => 'pretestb_myexa'
table => 'questions'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
name => 'Question'
alias => 'Question'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
findMethods => array(
[maximum depth reached]
)
tablePrefix => ''
topic => object(AppModel) {}
Qtype => object(AppModel) {}
Passage => object(AppModel) {}
QuestionsLang => object(AppModel) {}
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}'1019'
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);
object(PracticsController) {
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
presetVars => true
studentId => null
name => 'Practics'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Practics'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'all'
layout => 'practics'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Practic'
modelKey => 'practic'
validationErrors => null
Session => object(SessionComponent) {}
CustomFunction => object(CustomfunctionComponent) {}
Paginator => object(PaginatorComponent) {}
facebook => object(Facebook\Facebook) {}
Configuration => object(AppModel) {}
Currency => object(AppModel) {}
Seo => object(AppModel) {}
configLanguage => 'en'
siteTimezone => 'Asia/Dhaka'
siteName => 'MyExaminer'
siteDomain => 'https://myexaminer.net'
siteEmail => 'support@myexaminer.net'
frontRegistration => true
frontSlides => '0'
frontExamPaid => '1'
frontLeaderBoard => true
currency => '<img src="/img/currencies/dff02cb513707b8cbc2f8b8d44b70cfb.png"> '
currencyType => 'Tk'
currencyImage => 'dff02cb513707b8cbc2f8b8d44b70cfb.png'
emailNotification => true
smsNotification => false
siteEmailContact => 'Phone : 01911127519 Email : reportpretest@gmail.com'
mathEditor => true
siteSignature => '871d157c9c20f5f1a7ae1ae0dfe2c41a.jpg'
siteCertificate => false
examExpiry => '0'
examFeedback => false
tolranceCount => '10'
packageTypeArr => array(
[maximum depth reached]
)
sysDay => 'd'
sysMonth => 'm'
sysYear => 'Y'
sysHour => 'h'
sysMin => 'i'
sysSec => 's'
sysMer => 'A'
dateSep => '-'
timeSep => ':'
dateGap => ''
dtFormat => 'd-m-Y'
dpFormat => 'DD-MM-YYYY'
dtmFormat => 'd-m-Y h:i:s A'
currentDate => '2025-12-13'
currentDateTime => '2025-12-13 20:38:09'
userValue => null
adminValue => null
pageLimit => '30'
maxLimit => '1000'
captchaType => 'math'
dirType => 'ltr'
Slide => object(AppModel) {}
News => object(AppModel) {}
Content => object(AppModel) {}
Mail => object(Mail) {}
feedbackArr => array(
[maximum depth reached]
)
Emailsetting => object(AppModel) {}
emailSettype => 'Mail'
Cart => object(Cart) {}
cartCount => (int) 0
Topic => object(AppModel) {}
Notice => object(AppModel) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => '1019'
)$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Practics/all/1019/page:2'
base => ''
webroot => '/'
here => '/Practics/all/1019/page:2'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {
object(PracticsController) {
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
presetVars => true
studentId => null
name => 'Practics'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Practics'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'all'
layout => 'practics'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Practic'
modelKey => 'practic'
validationErrors => null
Session => object(SessionComponent) {}
CustomFunction => object(CustomfunctionComponent) {}
Paginator => object(PaginatorComponent) {}
facebook => object(Facebook\Facebook) {}
Configuration => object(AppModel) {}
Currency => object(AppModel) {}
Seo => object(AppModel) {}
configLanguage => 'en'
siteTimezone => 'Asia/Dhaka'
siteName => 'MyExaminer'
siteDomain => 'https://myexaminer.net'
siteEmail => 'support@myexaminer.net'
frontRegistration => true
frontSlides => '0'
frontExamPaid => '1'
frontLeaderBoard => true
currency => '<img src="/img/currencies/dff02cb513707b8cbc2f8b8d44b70cfb.png"> '
currencyType => 'Tk'
currencyImage => 'dff02cb513707b8cbc2f8b8d44b70cfb.png'
emailNotification => true
smsNotification => false
siteEmailContact => 'Phone : 01911127519 Email : reportpretest@gmail.com'
mathEditor => true
siteSignature => '871d157c9c20f5f1a7ae1ae0dfe2c41a.jpg'
siteCertificate => false
examExpiry => '0'
examFeedback => false
tolranceCount => '10'
packageTypeArr => array(
[maximum depth reached]
)
sysDay => 'd'
sysMonth => 'm'
sysYear => 'Y'
sysHour => 'h'
sysMin => 'i'
sysSec => 's'
sysMer => 'A'
dateSep => '-'
timeSep => ':'
dateGap => ''
dtFormat => 'd-m-Y'
dpFormat => 'DD-MM-YYYY'
dtmFormat => 'd-m-Y h:i:s A'
currentDate => '2025-12-13'
currentDateTime => '2025-12-13 20:38:09'
userValue => null
adminValue => null
pageLimit => '30'
maxLimit => '1000'
captchaType => 'math'
dirType => 'ltr'
Slide => object(AppModel) {}
News => object(AppModel) {}
Content => object(AppModel) {}
Mail => object(Mail) {}
feedbackArr => array(
[maximum depth reached]
)
Emailsetting => object(AppModel) {}
emailSettype => 'Mail'
Cart => object(Cart) {}
cartCount => (int) 0
Topic => object(AppModel) {}
Notice => object(AppModel) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Practics/all/1019/page:2'
base => ''
webroot => '/'
here => '/Practics/all/1019/page:2'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}$Dispatcher->dispatch(new CakeRequest(),new CakeResponse());
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'Practics/all/1019/page:2'
base => ''
webroot => '/'
here => '/Practics/all/1019/page:2'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}