A PHP Error was encountered |
04-10-2019, 05:26 PM
(This post was last modified: 04-10-2019, 05:44 PM by Jland. Edit Reason: Adding error Codes )
A PHP Error was encountered
Severity: Notice Message: Undefined variable: row Filename: admin/user_account.php Line Number: 79 Backtrace: File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php Line: 79 Function: _error_handler Severity: Notice Message: Undefined variable: row Filename: admin/user_account.php Line Number: 79 Backtrace: File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php Line: 79 Function: _error_handler CODE OF USER ACCOUNT BELOW <?php if($row['blocked']=='yes'){ echo "<i class='glyphicon glyphicon-ban-circle text-danger' style='font-size:160%;'></i> <a href='####' class='btn btn-primary btn-xs' title='function will be activated later'>Enable</a>"; } else{ echo "<i class='glyphicon glyphicon-ok-circle text-success' style='font-size:160%;'></i> <a href='####' class='btn btn-danger btn-xs' title='function will be activated later'>Disable</a>"; }?> </td> </tr> </table> File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/layout_blade.php Line: 204 Function: include else{ include ($account_type.'/'.$page_name.'.php'); } File: /home/cryplniv/trade4me.cryptogenie.cc/application/controllers/Account.php Line: 84 Function: view $this->load->view( 'layout_blade', $this->data ); } File: /home/cryplniv/trade4me.cryptogenie.cc/index.php Line: 315 Function: require_once require_once BASEPATH.'core/CodeIgniter.php';
CI version?
What might line 79 of admin/user_account.php say? Better yet, could you share the code of user_account? You have not provided enough information for anyone to help, other than stating the obvious, that the $row variable in your line 79 hasn't been set or hasn't been passed to your view.
(04-10-2019, 05:30 PM)ciadmin Wrote: CI version? A PHP Error was encountered Severity: Notice Message: Undefined variable: row Filename: admin/user_account.php Line Number: 79 Backtrace: File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php Line: 79 Function: _error_handler Severity: Notice Message: Undefined variable: row Filename: admin/user_account.php Line Number: 79 Backtrace: File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php Line: 79 Function: _error_handler CODE OF USER ACCOUNT BELOW <?php if($row['blocked']=='yes'){ echo "<i class='glyphicon glyphicon-ban-circle text-danger' style='font-size:160%;'></i> <a href='####' class='btn btn-primary btn-xs' title='function will be activated later'>Enable</a>"; } else{ echo "<i class='glyphicon glyphicon-ok-circle text-success' style='font-size:160%;'></i> <a href='####' class='btn btn-danger btn-xs' title='function will be activated later'>Disable</a>"; }?> </td> </tr> </table> File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/layout_blade.php Line: 204 Function: include else{ include ($account_type.'/'.$page_name.'.php'); } File: /home/cryplniv/trade4me.cryptogenie.cc/application/controllers/Account.php Line: 84 Function: view $this->load->view( 'layout_blade', $this->data ); } File: /home/cryplniv/trade4me.cryptogenie.cc/index.php Line: 315 Function: require_once require_once BASEPATH.'core/CodeIgniter.php'; |
Welcome Guest, Not a member yet? Register Sign In |