Notice: Trying to get property of non-object in C:\Inetpub\vhosts\fotoinstant.com\httpdocs\controllers\SubeventsController.php on line 32 From C:\Inetpub\vhosts\fotoinstant.com\httpdocs\views\plantilla.xhtml/llista around line exception 'PHPTAL_VariableNotFoundException' with message 'Attempt to read property 'grup_id' from NULL value' in C:\Inetpub\vhosts\fotoinstant.com\httpdocs\views\plantilla.xhtml/llista:0 Stack trace: #0 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\libs\phptal\PHPTAL\Context.php(353): PHPTAL_Context::pathError(NULL, 'grup_id', 'grup_id') #1 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\tmp\tpl_5783d007_subevents_mcr__0iMNdU40UqpHiIA3ZLx8tg.php(31): PHPTAL_Context::path(NULL, 'grup_id') #2 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\libs\phptal\PHPTAL.php(772): tpl_5783d007_subevents_mcr__0iMNdU40UqpHiIA3ZLx8tg_llista(Object(PHPTAL), Object(PHPTAL)) #3 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\tmp\tpl_598aba47_plantilla__by5eEbUOSHBGDwHC9OmvNg.php(132): PHPTAL->_executeMacroOfTemplate('subevents.mcr.x...', Object(PHPTAL)) #4 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\libs\phptal\PHPTAL.php(659): tpl_598aba47_plantilla__by5eEbUOSHBGDwHC9OmvNg(Object(PHPTAL), Object(PHPTAL_Context)) #5 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\libs\View.php(33): PHPTAL->execute() #6 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\controllers\SubeventsController.php(49): View->show('plantilla.xhtml') #7 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\libs\FrontController.php(64): SubeventsController->index() #8 C:\Inetpub\vhosts\fotoinstant.com\httpdocs\index.php(6): FrontController::main() #9 {main}