Fatal error: Uncaught Error: Attempt to assign property "name" on null in /home/puchala/ftp/strona/pages/galeria/fe/models/model.php:58 Stack trace: #0 /home/puchala/ftp/strona/pages/galeria/fe/controller.php(21): galeria_model->getGalerie(3) #1 /home/puchala/ftp/strona/_class/controller.php(45): galeria_controller->actionDefault() #2 /home/puchala/ftp/strona/_class/extension.php(35): controller->init() #3 /home/puchala/ftp/strona/_class/extension.php(15): Extension->controller() #4 /home/puchala/ftp/strona/_class/engine.php(178): Extension->__construct('galeria') #5 [internal function]: Engine->getmodule(Array) #6 /home/puchala/ftp/strona/_class/engine.php(94): preg_replace_callback('/{([A-Z1-90_]+)...', Array, '<!DOCTYPE html>...') #7 /home/puchala/ftp/strona/index.php(39): Engine->__construct() #8 {main} thrown in /home/puchala/ftp/strona/pages/galeria/fe/models/model.php on line 58