ErrorException [ Warning ]: Invalid argument supplied for foreach()

APPPATH/classes/Functions.php [ 71 ]

66         return $readyslug;
67     }
68 
69     public static function getparam($pageparams, $page_prop_name, $echo = false) {
70         $language_id = I18n::$langId;
71         foreach ($pageparams as $key => $param) {
72             if (($param['prop_name'] == $page_prop_name) and ($param['language_id'] == $language_id)) {
73                 $res = $param['value'];
74                 if ($echo == 'echo') {
75                     echo $res;
76                 }
  1. APPPATH/classes/Functions.php [ 71 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/index/pagetypes/v_i_page_type_solutions_singlework.php [ 4 ] » Functions::getparam(arguments)

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

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

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

  6. APPPATH/views/index/v_i_index.php [ 61 ] » Kohana_View->__toString()

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

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

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

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

  11. APPPATH/classes/Controller/Index/Pages.php [ 64 ] » Controller_Index->after()

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

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

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

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

  16. MODPATH/multilang/classes/Multilang/Request.php [ 174 ] » Kohana_Request_Client->execute(arguments)

  17. DOCROOT/index.php [ 127 ] » Multilang_Request->execute()

Environment