Notice: Trying to get property of non-object in /home/ftponly/usr/gplavkyx/web/daja-net/app/FrontModule/presenters/ObchodPresenter.php on line 288

Strict Standards: Creating default object from empty value in /home/ftponly/usr/gplavkyx/web/daja-net/app/FrontModule/presenters/ObchodPresenter.php on line 288

Fatal error: Cannot use object of type stdClass as array in /home/ftponly/usr/gplavkyx/web/daja-net/app/FrontModule/presenters/ObchodPresenter.php on line 299
Fatal Error

Fatal Error

Cannot use object of type stdClass as array

Source file

File: /home/ftponly/usr/gplavkyx/web/daja-net/app/FrontModule/presenters/ObchodPresenter.php   Line: 299

Line 292:            //******* formulář
Line 293:            $form $this->getComponent('detail');
Line 294:            $this->template->form $form;
Line 295:            //$this->template->key = $this->key;
Line 296:            //Debug::dump($form);
Line 297:            if (!$form->isSubmitted()) {
Line 298:                $arr = array(
Line 299:                'id_produkt'=> $row['id_produkt'],
Line 300:                //'typ'=>$typ,
Line 301:                'cena'=>$row['produkt_cena'],
Line 302:                'produkt_velikost'=>$row['produkt_velikost'],
Line 303:                'produkt_kosicky'=>$row['produkt_kosicky'],
Line 304:                );
Line 305:                $form->setDefaults($arr);
Line 306:                //$form['velikost']->setItems($tabulka);

Call stack

  1. <PHP inner-code> Debug:: _shutdownHandler ()

Nette Application

Environment

HTTP request

HTTP response