Notice: Undefined variable: sqlWhere in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 770

Warning: implode(): Invalid arguments passed in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 770

Notice: Undefined offset: 0 in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 772

Notice: Undefined offset: 0 in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 773

Notice: Undefined offset: 1 in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 805

Warning: mktime() expects parameter 5 to be long, string given in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 808

Notice: Undefined index: in /var/www/svatek/data/www/svatek.org/app/models/PranostikyModel.php on line 809
Pranostiky na den - .  | Svátek.org

Pranostiky na den . 


Notice: Undefined index: kategorie in /var/www/svatek/data/www/svatek.org/app/temp/c-Nette.Template/_8a227de0fe7840468f09cb3b74cad07b.udalosti.phtml.php on line 12
InvalidArgumentException

InvalidArgumentException

Invalid argument passed to foreach resp. SmartCachingIterator; array or Traversable expected, NULL given.

Source file

File: /var/www/svatek/data/www/svatek.org/libs/Nette/Utils/Iterators/SmartCachingIterator.php   Line: 48

Line 41:                    $iterator $iterator->getIterator();
Line 42:    
Line 43:                } elseif (!($iterator instanceof Iterator)) {
Line 44:                    $iterator = new IteratorIterator($iterator);
Line 45:                }
Line 46:    
Line 47:            } else {
Line 48:                throw new InvalidArgumentException("Invalid argument passed to foreach resp. " . __CLASS__ . "; array or Traversable expected, " . (is_object($iterator) ? get_class($iterator) : gettype($iterator)) ." given.");
Line 49:            }
Line 50:    
Line 51:            parent::__construct($iterator0);
Line 52:        }
Line 53:    
Line 54:    
Line 55:    

Call stack

  1. c-Nette.Template/_8a227de0fe7840468f09cb3b74cad07b.udalosti.phtml.php (12) source   SmartCachingIterator-> __construct (arguments )

  2. Loaders/LimitedScope.php (64) source   include (arguments )

  3. Templates/Template.php (124) source   LimitedScope:: load (arguments )

  4. c-Nette.Template/_9f56bbd4414fee8bf4afb0c733c70cfd.detailDen.phtml.php (33) source   Template-> render ()

  5. Filters/LatteMacros.php (800) source   _cbbf338702489_content (arguments )

  6. c-Nette.Template/_6855bed4536520f753edd5bbf4e703a6.%40layout.phtml.php (138) source   LatteMacros:: callBlock (arguments )

  7. Loaders/LimitedScope.php (64) source   include (arguments )

  8. Templates/Template.php (124) source   LimitedScope:: load (arguments )

  9. c-Nette.Template/_9f56bbd4414fee8bf4afb0c733c70cfd.detailDen.phtml.php (53) source   Template-> render ()

  10. Loaders/LimitedScope.php (64) source   include (arguments )

  11. Templates/Template.php (124) source   LimitedScope:: load (arguments )

  12. Responses/RenderResponse.php (55) source   Template-> render ()

  13. Application/Application.php (153) source   RenderResponse-> send ()

  14. app/bootstrap.php (271) source   Application-> run ()

  15. svatek.org/index.php (18) source   require (arguments )

Nette Application

Environment

HTTP request

HTTP response