The ActionLogPlugin throws multiple PHP warnings when attempting to access properties on null objects.
Navigate to Joomla administrator backend
Perform actions that trigger the ActionLog plugin
Multiple errors appear in PHP error logs
No PHP warnings should be generated.
##Actual result
Multiple PHP warnings are logged.
PHP Version: 8.4.8
Joomla Version: 5.3.2
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
Labels |
Added:
No Code Attached Yet
|