04-30-2023, 09:33 PM
I have a number of custom fields, so I think it may be related to that. If you edit a ticket, click on the "Notes"-Tab and type some content, once you add the note, the system hits a snag and worst of all the ticket itself becomes unviewable. This is logged:
CRITICAL - 2023-04-30 23:16:34 --> Attempt to read property "id" on array
#0 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/app/Views/staff/ticket_view.php(205): CodeIgniter\Debug\Exceptions->errorHandler()
#1 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/View/View.php(220): include('...')
#2 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/View/View.php(222): CodeIgniter\View\View->CodeIgniter\View\{closure}()
#3 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/Common.php(1217): CodeIgniter\View\View->render()
#4 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/app/Controllers/Staff/Tickets.php(250): view()
#5 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(936): App\Controllers\Staff\Tickets->view()
#6 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController()
#7 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest()
#8 /var/www/vhosts/.../httpdocs/ticketsystem/index.php(44): CodeIgniter\CodeIgniter->run()
#9 {main}
The only way of restoring access to the ticket is to physically delete the note from the hdz_ticket_notes table.
CRITICAL - 2023-04-30 23:16:34 --> Attempt to read property "id" on array
#0 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/app/Views/staff/ticket_view.php(205): CodeIgniter\Debug\Exceptions->errorHandler()
#1 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/View/View.php(220): include('...')
#2 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/View/View.php(222): CodeIgniter\View\View->CodeIgniter\View\{closure}()
#3 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/Common.php(1217): CodeIgniter\View\View->render()
#4 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/app/Controllers/Staff/Tickets.php(250): view()
#5 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(936): App\Controllers\Staff\Tickets->view()
#6 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController()
#7 /var/www/vhosts/.../httpdocs/ticketsystem/hdz/framework/CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest()
#8 /var/www/vhosts/.../httpdocs/ticketsystem/index.php(44): CodeIgniter\CodeIgniter->run()
#9 {main}
The only way of restoring access to the ticket is to physically delete the note from the hdz_ticket_notes table.