[eluser]ibnu drim[/eluser]
this is my error in php :
Code:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: libraries/Loader.php(673) : eval()'d code
and
Code:
A PHP Error was encountered
Severity: Notice
Message: Uninitialized string offset: 0
Filename: libraries/Loader.php(673) : eval()'d code
Line Number: 17
I just getting the expected result array :
Code:
Array
(
[0] => Array
(
[child] => Array
(
[0] => stdClass Object
(
[ID] => 6
[title] => test-child3
[content] =>
[excerpt] =>
[image_primary] => a:13:{s:9:"file_name";s:16:"banner_kiri1.jpg";s:9:"file_type";s:10:"image/jpeg";s:9:"file_path";s:49:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/";s:9:"full_path";s:65:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/banner_kiri1.jpg";s:8:"raw_name";s:12:"banner_kiri1";s:9:"orig_name";s:16:"banner_kiri1.jpg";s:8:"file_ext";s:4:".jpg";s:9:"file_size";s:5:"62.85";s:8:"is_image";s:1:"1";s:11:"image_width";s:3:"250";s:12:"image_height";s:3:"700";s:10:"image_type";s:4:"jpeg";s:14:"image_size_str";s:24:"width="250" height="700"";}
[image_secondary] =>
[article_post] => multiple
[slug] => test-child3
[is_dynamic] => 1
[allow_edit] => 1
[author] => 1
[author_modified] => 1
[parent] => 3
[status] => 1
[date_add] => 2011-06-23 15:09:48
[date_modified] => 2011-07-13 15:59:32
)
)
[parent] => stdClass Object
(
[ID] => 3
[title] => test 3
[content] =>
[excerpt] =>
[image_primary] => a:13:{s:9:"file_name";s:16:"banner_kiri1.jpg";s:9:"file_type";s:10:"image/jpeg";s:9:"file_path";s:49:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/";s:9:"full_path";s:65:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/banner_kiri1.jpg";s:8:"raw_name";s:12:"banner_kiri1";s:9:"orig_name";s:16:"banner_kiri1.jpg";s:8:"file_ext";s:4:".jpg";s:9:"file_size";s:5:"62.85";s:8:"is_image";s:1:"1";s:11:"image_width";s:3:"250";s:12:"image_height";s:3:"700";s:10:"image_type";s:4:"jpeg";s:14:"image_size_str";s:24:"width="250" height="700"";}
[image_secondary] =>
[article_post] => multiple
[slug] => test-3
[is_dynamic] => 0
[allow_edit] => 1
[author] => 1
[author_modified] => 1
[parent] => 0
[status] => 1
[date_add] => 2011-06-05 16:02:24
[date_modified] => 2011-07-13 18:24:29
)
)
)
and why do I get the error ..
ask the experts to help me ... ?!