app_controller.php file by the looks of it.
You're trying to access an undefined property within that. This is not
standard code, as by default app_controller has very little in it, so
it's something you have put in there. What does the following code do
and did you code it yourself or get it from someone else who could
support you on it?
if (isset($aOpt['conditions']) and !empty($aOpt['conditions']))
$conditions[]=$aOpt['conditions'];
unset($kondisi1);
if (!isset($this->passedArgs['sort'])) $this->passedArgs['sort']=$this-
>$_sModel->primaryKey;
On Aug 19, 8:10 am, Richardus Ari P <ari.richar...@yahoo.co.id> wrote:
> can you help me find solutin about my problem
>
> Notice (8): Undefined property: stdClass::$primaryKey [APP
> \app_controller.php, line 408]
> Code | Context
>
> if (isset($aOpt['conditions']) and !
> empty($aOpt['conditions'])) $conditions[]=$aOpt['conditions'];
>
> unset($kondisi1);
>
> if (!isset($this->passedArgs['sort'])) $this-
>
> >passedArgs['sort']=$this->$_sModel->primaryKey;
>
> AppController::__index() - APP\app_controller.php, line 408
> EbooksController::index() - APP\controllers\ebooks_controller.php,
> line 16
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 204
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
> [main] - APP\webroot\index.php, line 83
>
> Notice (8): Undefined property: stdClass::$alias [CORE\cake\libs
> \controller\controller.php, line 1111]
>
> Fatal error: Call to undefined method stdClass::find() in D:\LibCakePHP
> \cake\libs\controller\controller.php on line 1208
>
> thank you
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment