[ Warning ]: array_merge(): Expected parameter 1 to be an array, null given

APPPATH/classes/datasource.php [ 94 ]

89                 $fotolia = new AdobeStock();
90                 $count = 0;
91 				foreach (array_chunk($idsPage,10) as $phs) {
92                     $tab = $fotolia->getSearchPhotos(null, implode(' ',$phs), null, null, 10, 0);    
93                     $count += $tab['nb_results'];
94                     $result['fotolia'] = array_merge($tab['files'], $result['fotolia']);
95                 }
96                 
97                 $result['all'] = count($ids);
98                 $result['page_count'] = ceil(count($ids)/$limit);
99                 
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/datasource.php [ 94 ] » array_merge(arguments)

  3. APPPATH/classes/datasource.php [ 56 ] » DataSource::getPagePhotos(arguments)

  4. APPPATH/classes/boxes/allegro/category.php [ 14 ] » DataSource::getPhotos(arguments)

  5. MODPATH/webpage/classes/boxes.php [ 110 ] » Boxes_Allegro_Category->get()

  6. MODPATH/webpage/classes/controller/webpage.php [ 107 ] » Boxes->getData()

  7. MODPATH/webpage/classes/controller/webpage.php [ 158 ] » Controller_Webpage->parse()

  8. {PHP internal call} » Controller_Webpage->action_index()

  9. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  10. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  11. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  12. DOCROOT/index.php [ 126 ] » Kohana_Request->execute()

Environment