Notice: Undefined variable: app in /var/www/natos.lt/applications/site/modules/products/module_orders.class.php on line 40

Fatal error: Uncaught Error: Call to a member function buildUri() on null in /var/www/natos.lt/applications/site/modules/products/module_orders.class.php:40 Stack trace: #0 /var/www/natos.lt/applications/site/lib/gw_public_module.class.php(80): Module_Orders->viewList(Array) #1 /var/www/natos.lt/applications/site/lib/gw_public_module.class.php(160): GW_Public_Module->processView('list', Array) #2 /var/www/natos.lt/applications/site/gw_site_application.class.php(184): GW_Public_Module->process(Array) #3 /var/www/natos.lt/applications/site/gw_site_application.class.php(121): GW_Site_Application->processSiteModule('/var/www/natos....', Array, Array, Array) #4 /var/www/natos.lt/applications/site/gw_site_application.class.php(287): GW_Site_Application->processPath(Array, Array) #5 /var/www/natos.lt/framework/gw.class.php(206): GW_Site_Application->process() #6 /var/www/natos.lt/index.php(5): GW::request() #7 {main} thrown in /var/www/natos.lt/applications/site/modules/products/module_orders.class.php on line 40
error report turned off
Uncaught Error: Call to a member function buildUri() on null in /var/www/natos.lt/applications/site/modules/products/module_orders.class.php:40 Stack trace: #0 /var/www/natos.lt/applications/site/lib/gw_public_module.class.php(80): Module_Orders->viewList(Array) #1 /var/www/natos.lt/applications/site/lib/gw_public_module.class.php(160): GW_Public_Module->processView('list', Array) #2 /var/www/natos.lt/applications/site/gw_site_application.class.php(184): GW_Public_Module->process(Array) #3 /var/www/natos.lt/applications/site/gw_site_application.class.php(121): GW_Site_Application->processSiteModule('/var/www/natos....', Array, Array, Array) #4 /var/www/natos.lt/applications/site/gw_site_application.class.php(287): GW_Site_Application->processPath(Array, Array) #5 /var/www/natos.lt/framework/gw.class.php(206): GW_Site_Application->process() #6 /var/www/natos.lt/index.php(5): GW::request() #7 {main} thrown