05-02-2023, 12:13 PM
(04-30-2023, 09:33 PM)apidya Wrote: CRITICAL - 2023-04-30 23:16:34 --> Attempt to read property "id" on arrayIt looks like the error is happening at line 205 of ticket_view.php:
#0 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/app/Views/staff/ticket_view.php(205): CodeIgniter\Debug\Exceptions->errorHandler()
PHP Code:
<?php echo form_open('',['id' => 'noteForm'.$item->id],['do'=>'delete_note','note_id'=>$note->id]);?>
It's hard to say whether it's the 'noteForm'.$item->id or the $note->id that can't be referenced though. I'm not familiar with this code at all and can only suggest that you attempt to debug it.