ErrorException [ Warning ]: array_merge(): Argument #1 is not an array

APPPATH/classes/Model/Catalogue.php [ 37 ]

32         $item = $this->findById($category_id);
33 
34         $file_path = $this->config['file_paths']['prod_categories'];
35 
36         $props = Model_Background_Images::calcClearWidthAndHeight($item['header_image'], $item['header_image_mobile'], $file_path);
37         $item = array_merge($item, $props);
38 
39         return $item;
40     }
41 
42     /**
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Model/Catalogue.php [ 37 ] » array_merge(arguments)

  3. APPPATH/classes/Controller/Production.php [ 96 ] » Model_Catalogue->get_prod_category_info_by_id(arguments)

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Production->action_detail()

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

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

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

  8. SYSPATH/classes/Kohana/Request.php [ 993 ] » Kohana_Request_Client->execute(arguments)

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

Environment