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

Pupils Through to Scottish Swimming Finals

Congratulations to Hazel Leslie (S3), Ross Leslie (S5), Megan Ruddy (J7) and Balazs Szelei (J7) who have...
more

22 Jan, 2015

S1 Energy Transformation Experiments

S1 pupils enjoyed the experience of investigating a number of energy transformation experiments as part of...
more

21 Jan, 2015

News Homepage
Friends of Hamilton College

Friends of Hamilton College 19:30 02 February 2015
more

02 Feb, 2015

S2 Career Interviews

Tuesday 03 February and Wednesday 04 February 2015
more

03 Feb, 2015

Events Homepage