Why this error appears stdClass::$pic_item? |
site/views/index.php
<?php foreach($pic as $pic_item): ?> <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>"> <?php endforeach;?> controllers/Cspages.php
How to handle this error message? A PHP Error was encountered Severity: Notice Message: Undefined property: stdClass::$pic_item Filename: views/index.php Line Number: 214 Backtrace: File: C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\masterlinkci2\application\site\views\index.php Line: 214 Function: _error_handler File: C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\masterlinkci2\application\site\controllers\Cspages.php Line: 31 Function: view File: C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\masterlinkci2\index.php Line: 315 Function: require_once http://localhost/masterlinkci2/assets1/images/slider/"> } views/index.php Line Number: 214 <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>">
" If I looks more intelligence please increase my reputation."
|
Messages In This Thread |
Why this error appears stdClass::$pic_item? - by davy_yg - 01-22-2017, 08:51 PM
RE: Why this error appears stdClass::$pic_item? - by ciadmin - 01-22-2017, 10:45 PM
RE: Why this error appears stdClass::$pic_item? - by InsiteFX - 01-23-2017, 05:55 AM
RE: Why this error appears stdClass::$pic_item? - by davy_yg - 02-27-2017, 12:39 AM
RE: Why this error appears stdClass::$pic_item? - by ciadmin - 02-27-2017, 03:07 AM
RE: Why this error appears stdClass::$pic_item? - by davy_yg - 02-27-2017, 07:04 AM
RE: Why this error appears stdClass::$pic_item? - by ciadmin - 02-27-2017, 08:34 AM
RE: Why this error appears stdClass::$pic_item? - by davy_yg - 02-27-2017, 07:23 PM
RE: Why this error appears stdClass::$pic_item? - by davy_yg - 03-02-2017, 12:23 AM
RE: Why this error appears stdClass::$pic_item? - by wolfgang1983 - 03-09-2017, 02:24 PM
|