------------------------------------------------------------------------------------------------------------------------ ************************************************************************************************************************* Array ( [msg] => Error: Undefined offset: 0 ) *************************************************************************************************************************

Internal Server Error

Error: Undefined offset: 0

Exception data:Line: 150; Code: 0; Time: Tuesday 26th September 2017 12:31:18 AM
Exception file:/new.upromex.pl/cache/templates/classes/page_logic_crm_shop_plugins_products_one_product_120.php
145
146         $join = new ArrowOrmJoinCriteria(array($criteria1, $criteria2, $criteria3, $criteria4, $criteria4, $criteria5));
147         $join->ignoreRelation("ShopProperty", "ShopPropertyDictionary");
148
149         $result = ShopProduct::getByCriteria( $join, ShopProduct::TCLASS );
150                 $result[0]->setValue('price_netto', $result[0]->getValue('price_netto'));
151         $r = $result[0]->getRel("ProductShopCategory");
152         $category = ShopCategory::getByKey( $r[0]["category_id"], ShopCategory::TCLASS);
153
154         $this->ts->assign( "cat", $category);
[Stack Trace]
#0 /new.upromex.pl/cache/templates/classes/page_logic_crm_shop_plugins_products_one_product_120.php(151): ErrorHandler->raiseError() #1 /new.upromex.pl/server/standardModels/org/arrowplatform/engine/templatesSystem/templates/ArrowTemplateLinker.php(101): ArrowPageClass120->createView(Array, false) #2 /new.upromex.pl/projects/crm/models/cms/persistent/pages/CMSPage.php(157): ArrowTemplateLinker->handleTemplateCall() #3 /new.upromex.pl/cache/templates/classes/page_logic_crm_application_index_1.php(50): CMSPage->prepareModules() #4 /new.upromex.pl/index.php(116): ArrowSchemaClass1->createPage() #5 {main}
[Input Data]
  • ... (Array, 9 elements)
  • Krumo version 0.2.1a
    | http://krumo.sourceforge.net
    Called from /new.upromex.pl/server/standardModels/org/arrowplatform/standardHandlers/ExceptionHandler.php, line 179  
  • ... (Array, 0 elements)
  • Krumo version 0.2.1a
    | http://krumo.sourceforge.net
    Called from /new.upromex.pl/server/standardModels/org/arrowplatform/standardHandlers/ExceptionHandler.php, line 179  
  • ... (Array, 0 elements)
  • Krumo version 0.2.1a
    | http://krumo.sourceforge.net
    Called from /new.upromex.pl/server/standardModels/org/arrowplatform/standardHandlers/ExceptionHandler.php, line 179  
  • ... (NULL)
  • Krumo version 0.2.1a
    | http://krumo.sourceforge.net
    Called from /new.upromex.pl/server/standardModels/org/arrowplatform/standardHandlers/ExceptionHandler.php, line 179  
[Session Data]
  • ... (Array, 1 element)
  • Krumo version 0.2.1a
    | http://krumo.sourceforge.net
    Called from /new.upromex.pl/server/standardModels/org/arrowplatform/standardHandlers/ExceptionHandler.php, line 187  
[Stack Trace - long] Uruchom