What this solution does
Event Handlers — Search, Diagnostics, and Management
This module assists administrators and developers in analyzing site event handlers, identifying binding issues, and tracking changes after installing or updating components.
The tool allows viewing permanent bindings stored in the database as well as handlers registered within the current administrative request. Detailed information is displayed regarding the module, event, priority, handler code, file, source, and diagnostic results. Supported handler types include methods, functions, objects, and anonymous Closure functions.
Search functionality is available by event name, handler code, or path. Filters can be applied by event module, source, and notes, with support for sorting and paginated results.
The system automatically detects potential issues such as missing modules or files, inaccessible methods in loaded classes, and duplicate handler registrations.
The feature set includes creating site configuration copies with a specified name and date. Comparing a selected copy against the current state reveals added, removed, and modified records. Full copies can be exported to JSON format for later comparison, and filtered lists can be exported to CSV.
Removing a permanent binding from the list requires an administrator warning and explicit confirmation.
The module does not invoke event handlers or load their files and target modules for verification. A message indicating an unloaded class or function signals the need for further diagnostics. The presence of a definition does not guarantee successful handler execution.
Dynamic handlers are displayed only for the current administrative request. Registrations that trigger exclusively on other pages, in agents, or background tasks may be absent from the output. For accurate analysis, compare copies of the same site obtained under identical conditions.
The copy function does not restore previously removed bindings. Always verify the handler's purpose before deletion. Access to the module is restricted to site administrators.
Environment requirements:
PHP version 8.2 or later, main module version 24.0 or later, UTF-8 encoding, MySQL database.
Supported editions of 1C-Bitrix Site Management:
First Site, Start, Standard, Small Business, Expert, Business.
General iT can handle the implementation of “Event Handlers — Search, Diagnostics, and Management”, from installation to configuration and compatibility checks.