Trying to get property of non-object |
Hello,
I am facing another error message here: A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: views/pcategories.php Line Number: 58 Backtrace: File: C:\Program Files\EasyPHP\www\CompanyGiondaCI\application\views\pcategories.php Line: 58 Function: _error_handler http://127.0.0.1/CompanyGiondaCI/index.p...tparentctg';">EDIT ------------------------------------------------ views/pcategories.php PHP Code: <?php foreach ($posts as $post): ?> line 58: <td><button type="button" class="edit" onclick="location.href='<?php echo site_url('cpages/editparentctg/'.$post->ctgp_no); ?>';">EDIT</button></td> controllers/cpages.php PHP Code: public function pcategories() { models/Mpages.php PHP Code: public function call_parentctg() How to fix the error message?
" If I looks more intelligence please increase my reputation."
|
Messages In This Thread |
Trying to get property of non-object - by davy_yg - 08-28-2016, 06:29 PM
RE: Trying to get property of non-object - by Joel Catantan - 08-29-2016, 06:45 PM
RE: Trying to get property of non-object - by davy_yg - 08-29-2016, 11:41 PM
RE: Trying to get property of non-object - by Joel Catantan - 08-30-2016, 02:28 AM
|