User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
getSuperUsers() of the link check task reads $rules['core.admin']->getData() ?? []. If the root asset has no core.admin rule, $rules['core.admin'] is undefined; calling getData() on null throws an Error (not an Exception), so the surrounding catch (\Exception $e) does not catch it and the task fails with a fatal error instead of reporting that no Super Users were found.
The rule is now checked with isset() before it is used.
Hard to reproduce on a normal site (the root asset always has core.admin for Super Users). Remove core.admin from the rules of the root asset in #__assets on a test site and run a "Weblinks - Check links" task that finds a broken link.
The task logs "No Super Users found for email notification."
Fatal error: Call to a member function getData() on null.
None