ErrorException [ Notice ]: Undefined index: attach

FCPATH/public\themes\isc\front\news-details.php [ 82 ]

77 						</div>
78 
79 						<div class="slide-respon-control">
80 							<div class="news-slide-respon">
81 								<?php
82 									foreach($article['attach'] as $k => $v)
83 										echo PHP_EOL . '<div class="item"><img src="' . $this -> un -> photo_resize($v, 945, 443) . '" alt="" title=""></div>';
84 								?>
85 							</div>
86 						</div>
87 
  1. FCPATH/public\themes\isc\front\news-details.php [ 82 ] » MY_Exceptions::error_handler(arguments)

  2. FCPATH/application\third_party\MX\Loader.php [ 315 ] » include(arguments)

  3. FCPATH/application\core\MY_Loader.php [ 110 ] » MX_Loader->_ci_load(arguments)

  4. FCPATH/application\core\MY_Controller.php [ 121 ] » MY_Loader->view(arguments)

  5. FCPATH/modules\article\controllers\article.php [ 65 ] » MY_Controller->generate_page(arguments)

  6. {PHP internal call} » article->detail(arguments)

  7. FCPATH/system\core\CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  8. FCPATH/index.php [ 222 ] » require_once(arguments)

Environment

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

FCPATH/public\themes\isc\front\news-details.php [ 82 ]

77 						</div>
78 
79 						<div class="slide-respon-control">
80 							<div class="news-slide-respon">
81 								<?php
82 									foreach($article['attach'] as $k => $v)
83 										echo PHP_EOL . '<div class="item"><img src="' . $this -> un -> photo_resize($v, 945, 443) . '" alt="" title=""></div>';
84 								?>
85 							</div>
86 						</div>
87 
  1. FCPATH/public\themes\isc\front\news-details.php [ 82 ] » MY_Exceptions::error_handler(arguments)

  2. FCPATH/application\third_party\MX\Loader.php [ 315 ] » include(arguments)

  3. FCPATH/application\core\MY_Loader.php [ 110 ] » MX_Loader->_ci_load(arguments)

  4. FCPATH/application\core\MY_Controller.php [ 121 ] » MY_Loader->view(arguments)

  5. FCPATH/modules\article\controllers\article.php [ 65 ] » MY_Controller->generate_page(arguments)

  6. {PHP internal call} » article->detail(arguments)

  7. FCPATH/system\core\CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  8. FCPATH/index.php [ 222 ] » require_once(arguments)

Environment

ผู้เข้าชม :

1 คน

ErrorException [ Notice ]: Undefined index: detail

FCPATH/public\themes\isc\front\news-details.php [ 98 ]

 93 									<span><img src="<?php echo $this->theme_path; ?>assets/front/img/news/icon-user.png" alt=""> ผู้เข้าชม  : </span>
 94 									<p><?php echo number_format($article['view']); ?> คน</p>
 95 								</div>
 96 							</div>
 97 							<div class="content-wrapper">
 98 								<?php echo $article['detail']; ?>
 99 							</div> <!-- end content-wrapper -->
100 
101 							<div class="button-control">
102 								<div class="btn-back">
103 									<a href="<?php echo site_url('article/category' . ($category === false ? '' : '/' . $category['id'])); ?>">ย้อนกลับ</a>
  1. FCPATH/public\themes\isc\front\news-details.php [ 98 ] » MY_Exceptions::error_handler(arguments)

  2. FCPATH/application\third_party\MX\Loader.php [ 315 ] » include(arguments)

  3. FCPATH/application\core\MY_Loader.php [ 110 ] » MX_Loader->_ci_load(arguments)

  4. FCPATH/application\core\MY_Controller.php [ 121 ] » MY_Loader->view(arguments)

  5. FCPATH/modules\article\controllers\article.php [ 65 ] » MY_Controller->generate_page(arguments)

  6. {PHP internal call} » article->detail(arguments)

  7. FCPATH/system\core\CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  8. FCPATH/index.php [ 222 ] » require_once(arguments)

Environment