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

Hannah Ord Wins BAFTA!

Congratulations to Hannah Ord (S1) who received a BAFTA Scotland award for Best Actress in the New Talent...
more

24 Apr, 2015

Authors Live Webcast for Junior School

J5, 6 and 7 heard Anthony Horowitz talk about his work, in particular the Alex Rider series, in an 'Authors...
more

24 Apr, 2015

News Homepage
Study Leave Begins

Study leave dates: Wed 29 April – Mon 1 June inclusive. NB: Higher Classicists will be granted 1 extra...
more

29 Apr, 2015

Junior Maths Challenge

Junior Maths Challenge 30 April 2015
more

30 Apr, 2015

Events Homepage

Vacancies


Captcha