FCPATH/modules/product/models/product_model.php [ 152 ]
147 $this->db->where('status', 1);
148 $this->db->where('id', $category_id);
149 $this->db->order_by('sort_order', 'desc');
150 $query = $this->db->get('product_category');
151 $result = $query->row();
152 $res = $result->subject;
153 return $res;
154 }
155
156 public function get_list_product_gallery($product_id = 0)
157 {
-
FCPATH/modules/product/models/product_model.php [ 152 ] » MY_Exceptions::error_handler(arguments)
code
8
error
Trying to get property of non-object
file
/home/asiajumbo/domains/asiajumbo.com/public_html/modules/product/models/product_model.php
line
152
4
Array ( [lang_id] => 1 [category_id] => 0 [query] => CI_DB_mysqli_result Object ( [conn_id] => mysqli Object ( [affected_rows] => 0 [client_info] => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ [client_version] => 50011 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 11 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.6.38 [server_version] => 50638 [stat] => Uptime: 40672577 Threads: 12 Questions: 13623871737 Slow queries: 30430 Opens: 30091871 Flush tables: 1 Open tables: 15000 Queries per second avg: 334.964 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 167656112 [warning_count] => 0 ) [result_id] => mysqli_result Object ( [current_field] => 0 [field_count] => 11 [lengths] => [num_rows] => 0 [type] => 0 ) [result_array] => Array ( ) [result_object] => Array ( ) [custom_result_object] => Array ( ) [current_row] => 0 [num_rows] => 0 [row_data] => ) [result] => Array ( ) )
147 $this->db->where('status', 1); 148 $this->db->where('id', $category_id); 149 $this->db->order_by('sort_order', 'desc'); 150 $query = $this->db->get('product_category'); 151 $result = $query->row(); 152 $res = $result->subject; 153 return $res; 154 } 155 156 public function get_list_product_gallery($product_id = 0) 157 {
-
FCPATH/modules/product/controllers/product.php [ 60 ] » product_model->get_category_name(arguments)
lang_id
1
category_id
0
55 // CATEGORY NAME 56 $output['category_name'] = []; 57 $results = []; 58 if ($this->db->table_exists('product_category') && $this->uri->segment(1) != 'site-admin') { 59 60 $output['category_name'] = $this->product_model->get_category_name($this->curent_lang_id, $category_id); 61 } 62 63 // PRODUCT CATEGORY LIST 64 $output['list_product_category'] = []; 65 $results = [];
-
{PHP internal call} » product->product_list(arguments)
any_str
6-vehicles-with-candies
-
FCPATH/system/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)
function_name
Array ( [0] => product Object ( [module_name:protected] => product [base_url] => http://asiajumbo.com/ [modules_path] => http://asiajumbo.com/modules/ [plugins_path] => http://asiajumbo.com/modules/ [theme_path] => http://asiajumbo.com/public/themes/asiajumbo/ [page_id] => [curent_lang_code] => th [curent_lang_id] => 1 [curent_lang_front_id] => [current_site_name] => [theme_system_name] => asiajumbo [autoload] => Array ( ) [load] => MY_Loader Object ( [_module:protected] => product [_ci_plugins] => Array ( ) [_ci_cached_vars] => Array ( [module_name] => product [copyright_website] => © 2014 Palawatr Co.,Ltd. Powered by BizIdea [curent_lang_code] => th [curent_lang_id] => 1 [lang_uri_abbr] => Array ( [en] => english [th] => thai ) [lang_info] => Array ( [lang_info] => Array ( [English] => Array ( [lang_id] => 2 [lang_name] => English [lang_code] => en [icon] => gb.png [active] => 1 [ordering] => 1 ) [Thai] => Array ( [lang_id] => 1 [lang_name] => Thai [lang_code] => th [icon] => th.png [active] => 0 [ordering] => 2 ) ) ) [page_name] => product [contactus_menus] => Array ( [company_name] => บริษัท เอเซียจัมโบ้ อินดัสตรีส์ จำกัด [address] => สํานักงานขาย บริษัท เจ. บี. อินเตอร์โปรดักส์ จำกัด
266, 266/2 ซอยยาสูบ 1 ถนนวิภาวดี-รังสิต
จอมพล จตุจักร กรุงเทพฯ 10900 [telephone] => 02 272 0104-6 [fax] => +66 2 272 0016 [email] => price_info@asiajumbo.com [line] => บริษัท เจ.บี.อินเตอร์โปรดักส์ จำกัด (เวลาทำการ: วันจันทร์ - วันศุกร์ 8:30 - 17:30) [line_id] => http://line.me/ti/p/~jbinterproducts [google_map] => https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d7749.200538518711!2d100.558383!3d13.802954!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x4b32555c9f036795!2z4Lia4Lij4Li04Lip4Lix4LiXIOC5gOC4iC7guJrguLUu4Lit4Li04LiZ4LmA4LiV4Lit4Lij4LmM4LmC4Lib4Lij4LiU4Lix4LiB4Liq4LmMIOC4iOC4s-C4geC4seC4lA!5e0!3m2!1sen!2sth!4v1519638978988 ) [logo_menus] => Array ( [subject] => ASIA JUMBO [logo] => http://asiajumbo.com/uploads/logo/20190502/cdlnqsvy5689.png [logo_footer] => http://asiajumbo.com/uploads/logo/20190503/cgilsvxz0569.jpg ) [product_menus] => Array ( [0] => Array ( [subject] => ลูกอม [url_slug] => http://asiajumbo.com/th/product/ลูกอม ) [1] => Array ( [subject] => อบาคัส [url_slug] => http://asiajumbo.com/th/product/อบาคัส ) [2] => Array ( [subject] => ซ็อกโกแลต [url_slug] => http://asiajumbo.com/th/product/ซ็อกโกแลต ) [3] => Array ( [subject] => ขนมของเล่น [url_slug] => http://asiajumbo.com/th/product/ขนมของเล่น ) ) [banner_config] => 6000 [image_logo] => http://asiajumbo.com/public/themes/asiajumbo/assets/image/asset/brand.png ) [_ci_ob_level:protected] => 1 [_ci_view_paths:protected] => Array ( [/home/asiajumbo/domains/asiajumbo.com/public_html/application/views/] => 1 ) [_ci_library_paths:protected] => Array ( [0] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/ [1] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/ ) [_ci_model_paths:protected] => Array ( [0] => /home/asiajumbo/domains/asiajumbo.com/public_html/modules/product/ [1] => /home/asiajumbo/domains/asiajumbo.com/public_html/modules/product/ [2] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/ ) [_ci_helper_paths:protected] => Array ( [0] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/ [1] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/ ) [_base_classes:protected] => Array ( [benchmark] => Benchmark [hooks] => Hooks [config] => Config [exceptions] => Exceptions [utf8] => Utf8 [uri] => URI [router] => Router [output] => Output [security] => Security [input] => Input [lang] => Lang [loader] => Loader ) [_ci_classes:protected] => Array ( [modules_plug] => modules_plug [gravatar] => gravatar [instagram] => instagram [geshi] => geshi [pagination] => pagination [session] => session [encrypt] => encrypt [migration] => migration [cache] => cache ) [_ci_loaded_files:protected] => Array ( [0] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/libraries/modules_plug.php [1] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/libraries/Gravatar.php [2] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/libraries/Instagram.php [3] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/libraries/geshi.php [4] => /home/asiajumbo/domains/asiajumbo.com/public_html/application/libraries/MY_Pagination.php [5] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/libraries/Session.php [6] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/libraries/Encrypt.php [7] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/libraries/Migration.php [8] => /home/asiajumbo/domains/asiajumbo.com/public_html/system/libraries/Cache/Cache.php ) [_ci_models:protected] => Array ( [0] => language_model [1] => content_config_model [2] => themes_model [3] => account_model [4] => blocks_model [5] => config_model [6] => html_model [7] => contactus_model [8] => logo_model [9] => product_category_model [10] => banner_model [11] => product_model ) [_ci_helpers:protected] => Array ( [url_helper] => 1 [date_helper] => 1 [function_helper] => 1 [form_helper] => 1 [cookie_helper] => 1 [video_helper] => 1 [language_helper] => 1 [siteinfo_helper] => 1 [menu_helper] => 1 [string_helper] => 1 [file_helper] => 1 [block_helper] => 1 ) [_ci_varmap:protected] => Array ( [unit_test] => unit [user_agent] => agent ) [controller] => product Object *RECURSION* ) ) [1] => product_list )parameters
Array ( [0] => 6-vehicles-with-candies )
354 } 355 } 356 357 // Call the requested method. 358 // Any URI segments present (besides the class/function) will be passed to the method for convenience 359 call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2)); 360 } 361 362 363 // Mark a benchmark end point 364 $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
-
FCPATH/index.php [ 217 ] » require_once(arguments)
0
/home/asiajumbo/domains/asiajumbo.com/public_html/system/core/CodeIgniter.php
212 * 213 * And away we go... 214 * 215 */ 216 217 require_once BASEPATH.'core/CodeIgniter.php'; 218 219 /* End of file index.php */ 220 /* Location: ./index.php */