ErrorException [ Notice ]: Undefined index: id

FCPATH/modules/service/controllers/service.php [ 191 ]

186         //  if (!empty($output['data_info']->image_background) && is_file('uploads/aboutus/'.$output['data_info']->image_background)) {
187         //     pr($output['data_info']->image_background);
188         // }
189 
190 
191         $output['data_info'] = $this->service_front_model->getData($id['id'],$this->curent_lang_id,'front');
192 
193         if (!empty($output['data_info']->image_background) && is_file('uploads/service/'.$output['data_info']->image_background)) {
194             $output['image_background']  = base_url('uploads/service/'.$output['data_info']->image_background);
195         }else{
196             $output['image_background'] = '';
  1. FCPATH/modules/service/controllers/service.php [ 191 ] » MY_Exceptions::error_handler(arguments)

  2. {PHP internal call} » service->category(arguments)

  3. FCPATH/modules/service/controllers/service.php [ 22 ] » call_user_func_array(arguments)

  4. FCPATH/system/core/CodeIgniter.php [ 325 ] » service->_remap(arguments)

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

Environment

ErrorException [ Notice ]: Trying to get property of non-object

FCPATH/modules/service/controllers/service.php [ 237 ]

232 
233     /*----------  Set Seo  ----------*/
234     $this->load->model('setting/setting_model');
235     $output['seo_info'] = $this->setting_model->get_seo_front(3, $this->curent_lang_id);
236 
237     $output['subject_of_page'] = $output['data_info']->subject;
238     $output['description_of_page'] = $output['data_info']->subject;
239     $output = generate_seo_tag($output);
240 
241 
242     if (!empty($output['data_info'])) {
  1. FCPATH/modules/service/controllers/service.php [ 237 ] » MY_Exceptions::error_handler(arguments)

  2. {PHP internal call} » service->category(arguments)

  3. FCPATH/modules/service/controllers/service.php [ 22 ] » call_user_func_array(arguments)

  4. FCPATH/system/core/CodeIgniter.php [ 325 ] » service->_remap(arguments)

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

Environment

ErrorException [ Notice ]: Trying to get property of non-object

FCPATH/modules/service/controllers/service.php [ 238 ]

233     /*----------  Set Seo  ----------*/
234     $this->load->model('setting/setting_model');
235     $output['seo_info'] = $this->setting_model->get_seo_front(3, $this->curent_lang_id);
236 
237     $output['subject_of_page'] = $output['data_info']->subject;
238     $output['description_of_page'] = $output['data_info']->subject;
239     $output = generate_seo_tag($output);
240 
241 
242     if (!empty($output['data_info'])) {
243         $social_tag = array(
  1. FCPATH/modules/service/controllers/service.php [ 238 ] » MY_Exceptions::error_handler(arguments)

  2. {PHP internal call} » service->category(arguments)

  3. FCPATH/modules/service/controllers/service.php [ 22 ] » call_user_func_array(arguments)

  4. FCPATH/system/core/CodeIgniter.php [ 325 ] » service->_remap(arguments)

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

Environment

Cosma Care › Service
สอบถามโปรโมชั่นคลิก
X
สอบถามเกี่ยวกับโปรโมชั่น
Please leave a message and we will contact you back.
#exception_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #333333; } #exception_error h1, #exception_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911911; color: #FFFFFF; } #exception_error h1 a, #exception_error h2 a { color: #FFFFFF; } #exception_error h2 { background: #666666; } #exception_error h3 { margin: 0; padding: 0.4em 0 0; font-size: 1em; font-weight: normal; } #exception_error p { margin: 0; padding: 0.2em 0; } #exception_error a { color: #1b323b; } #exception_error pre { overflow: auto; white-space: pre-wrap; } #exception_error table { width: 100%; display: block; margin: 0 0 0.4em; padding: 0; border-collapse: collapse; background: #fff; } #exception_error table td { border: solid 1px #ddd; text-align: left; vertical-align: top; padding: 0.4em; } #exception_error div.content { padding: 0.4em 1em 1em; overflow: hidden; } #exception_error pre.source { margin: 0 0 1em; padding: 0.4em; background: #fff; border: dotted 1px #b7c680; line-height: 1.2em; } #exception_error pre.source span.line { display: block; } #exception_error pre.source span.highlight { background: #f0eb96; } #exception_error pre.source span.line span.number { color: #666; } #exception_error ol.trace { display: block; margin: 0 0 0 2em; padding: 0; list-style: decimal; } #exception_error ol.trace li { margin: 0; padding: 0; } .js .collapsed { display: none; }

ErrorException [ Notice ]: Undefined variable: csrf

FCPATH/public/themes/cosmacare/front/templates/service/service_view.php [ 521 ]

516 <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 mb" style="min-width: 600px;width: 600px;min-height: 150px;margin: 100px auto;background: #f3f3f3;position: relative;z-index: 103;padding: 15px 35px;border-radius: 5px;box-shadow: 0 2px 5px #000;">
517     <a href='' class='close' style="float: right;color: red;font-size: 25px;font-weight: 600;">X</a>
518        <div class="topic">สอบถามเกี่ยวกับโปรโมชั่น</div>
519        <div class="topic2">Please leave a message and we will contact you back.</div>
520         <form action="" method="post" accept-charset="UTF-8">
521           <input type="hidden" name="<?php echo $csrf['name']; ?>" value="<?php echo $csrf['hash'];?>" />
522           <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6" style="padding-bottom: 15px;">
523               <div class="Qinput"> First Name <span style="color:red;">*</span> <br> <input style="width: 100%;" type="text" name="name" required></div>
524            </div>
525            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6" style="padding-bottom: 15px;">
526              <div class="Qinput"> Last Name <span style="color:red;">*</span> <br> <input style="width: 100%;" type="text" name="lastname" required></div>
  1. FCPATH/public/themes/cosmacare/front/templates/service/service_view.php [ 521 ] » MY_Exceptions::error_handler(arguments)

  2. APPPATH/third_party/MX/Loader.php [ 315 ] » include(arguments)

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

  4. APPPATH/core/MY_Controller.php [ 330 ] » MY_Loader->view(arguments)

  5. FCPATH/modules/service/controllers/service.php [ 257 ] » MY_Controller->generate_page(arguments)

  6. {PHP internal call} » service->category(arguments)

  7. FCPATH/modules/service/controllers/service.php [ 22 ] » call_user_func_array(arguments)