-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
ummary
The ActionLogPlugin throws multiple PHP warnings when attempting to access properties on null objects.
Steps to reproduce the issue
Navigate to Joomla administrator backend
Perform actions that trigger the ActionLog plugin
Multiple errors appear in PHP error logs
Expected result
No PHP warnings should be generated.
##Actual result
Multiple PHP warnings are logged.
System information
PHP Version: 8.4.8
Joomla Version: 5.3.2
Additional comments
Error Details:
PHP Warning: Attempt to read property "id" on null in /administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php on line 75
PHP Warning: Attempt to read property "username" on null in /administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php on line 79
PHP Warning: Attempt to read property "id" on null in /administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php on line 83