ErrorException [ Notice ]: Array to string conversion

APPPATH/views/layout/visual.php [ 20 ]

15         <?php
16         // Could be more than one image, check if array
17         if (is_array($visual))
18         {
19             foreach ($visual as $i => $url):
20                 echo HTML::image(Url::base().$url, array(
21                       'alt' => 'image',
22                         )
23                 );
24             endforeach;
25         }
  1. APPPATH/views/layout/visual.php [ 20 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/kohana/view.php [ 359 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  5. APPPATH/views/template.php [ 63 ] » Kohana_View->__toString()

  6. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/kohana/view.php [ 359 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()

  9. APPPATH/classes/controller/website.php [ 101 ] » Kohana_Controller_Template->after()

  10. {PHP internal call} » Controller_Website->after()

  11. SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)

  12. SYSPATH/classes/kohana/request.php [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)

  13. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment

Stay Connected

Hockey Festival

Some of our J5 and J6 pupils took part in Uddingston Hockey Club’s Primary School End of Term Hockey...
more

26 Mar, 2015

Dutch Visitors

Today, we were delighted to welcome 7 head teachers from various schools in Holland to Hamilton College. ...
more

26 Mar, 2015

News Homepage
Berlin Trip Parents' Meeting

Berlin Trip Parents' Meeting 17:15 30 March 2015
more

30 Mar, 2015

S2 Social Subjects

S2 Social Subjects Edinburgh 31 March 2015
more

31 Mar, 2015

Events Homepage