*

Alealto1

  • **
  • 15 posts
Hi OsclassPoint team,

I would like to report a PHP 8.x bug chain that occurs in oc-admin when deleting a listing (action=delete or bulk_actions=delete_all) if the item ID no longer exists in the database (for example, when double-clicking the "Delete" button in the confirmation modal or refreshing/re-submitting the delete request).

Code: [Select]
Warning: Undefined array key "s_secret" in /oc-admin/items.php on line 191
Warning: Undefined array key "pk_i_id" in /oc-admin/items.php on line 191
Warning: Undefined array key "s_secret" in /oc-includes/osclass/ItemActions.php on line 1383
Warning: Undefined array key "s_title" in /oc-includes/osclass/ItemActions.php on line 1388
Warning: Undefined array key "b_active" in /oc-includes/osclass/model/Item.php on line 1327
Warning: Cannot modify header information - headers already sent by (output started at /oc-includes/osclass/utils.php:2758) in /oc-includes/osclass/core/Cookie.php on line 155
Warning: Cannot modify header information - headers already sent by (output started at /oc-includes/osclass/utils.php:2758) in /oc-includes/osclass/utils.php on line 2772

Thank you for your great work maintaining Osclass!

*

MB Themes

Re: [Bug Report - PHP 8.x] Chain of Warnings and broken redirect when delet
« Reply #1 on: November 04, 2026, 11:09:40 am »
Thanks for feedback.
Issue will be fixed in next Osclass version.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots