Fatal error

Minimal width is 2

Source file

File: D:\...\examples\fifteen\app\components\FifteenControl.php   Line: 125

Line 118:        }
Line 119:    
Line 120:    
Line 121:    
Line 122:        public function render()
Line 123:        {
Line 124:            if ($this->width 2) {
Line 125:                trigger_error('Minimal width is 2', E_USER_ERROR);
Line 126:            }
Line 127:            $template $this->template;
Line 128:            $template->setFile(dirname(__FILE__) . '/FifteenControl.phtml');
Line 129:            $template->registerFilter(/*Nette\Application\*/'TemplateFilters::curlyBrackets');
Line 130:            $template->width $this->width;
Line 131:            $template->order $this->order;
Line 132:            $template->useAjax $this->useAjax;

Call stack

  1. components/FifteenControl.php (125) source   trigger_error (arguments )

  2. temp/cache-Nette.Template%0095c31fd33e6a57c9214259e750f2fe90.Default.default.phtml (28) source   FifteenControl-> render ()

  3. Templates/TemplateFilters.php (66) source   include (arguments )

  4. Templates/Template.php (215) source   TemplateFilters:: phpEvaluation (arguments )

  5. Application/Presenter.php (422) source   Template-> render ()

  6. Application/Presenter.php (197) source   Presenter-> renderTemplate ()

  7. Application/Application.php (158) source   Presenter-> run (arguments )

  8. app/bootstrap.php (32) source   Application-> run ()

  9. document_root/index.php (10) source   require (arguments )

Environment

HTTP request

HTTP response