А А А
Версия для слабовидящих Обычная версия

ErrorException [ Notice ]: Undefined offset: 1

APPPATH/views/organisation/page/contacts.php [ 64 ]

59                                         function all($child)
60                                         {
61                                             foreach ($child->childs->find_all() as $child) {
62                                                 $coordinates = explode(',', $child->coordinates);
63                                                 $longitude = trim($coordinates[0]);
64                                                 $latitude = trim($coordinates[1]);
65                                                 echo "var myContPlacemark$child->id = new ymaps.Placemark([$longitude, $latitude],{balloonContent: '" . trim($child->name) . "'});myContMap.geoObjects.add(myContPlacemark$child->id);" . "\r\n";
66                                                 if ($child->childs->count_all() > 0) {
67                                                     all($child);
68                                                 }
69                                             }
  1. APPPATH/views/organisation/page/contacts.php [ 64 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/organisation/page/contacts.php [ 71 ] » all(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  6. APPPATH/views/organisation/template.php [ 128 ] » Kohana_View->__toString()

  7. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. APPPATH/classes/Controller/Organisation.php [ 33 ] » Kohana_Controller_Template->after()

  11. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Organisation->after()

  12. {PHP internal call} » Kohana_Controller->execute()

  13. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  14. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  15. SYSPATH/classes/Kohana/Request.php [ 993 ] » Kohana_Request_Client->execute(arguments)

  16. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment