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

Seasons Greetings

Seasons greetings for a happy Christmas and a wonderful New Year from all at Hamilton College.  Thank you...
more

18 Dec, 2014

Christmas Jumper Day!

Yesterday was Christmas Jumper Day at Hamilton College! Pupils, Nursery children and staff all took part and...
more

18 Dec, 2014

News Homepage
Ski Trip

Ski Trip 03/04/05/06/07/08/09 January 2015
more

03 Jan, 2015

S1 Parents Evening

S1 Parents Evening 16:30-18:30 12 Janaury 2015
more

12 Jan, 2015

Events Homepage