-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Closed
Copy link
Description
Basic Information
If a profile export task has been started, but the member whose profile is being exported does not exist, error messages are generated. However, the task is not removed from the background tasks queue, and therefore the messages keep recurring.
Steps to reproduce
- Start a profile export for a member.
- Before the export is complete, delete that member's account.
Expected result
The export task should be silently aborted and any existing export files for it should be discarded.
Actual result
The error message array_merge(): Argument #1 must be of type array, null given, occurring on line 98 of ExportProfileData.php, will appear over and over in the logs.
Version/Git revision
2.1.6
Database Engine
All
Database Version
No response
PHP Version
No response
Logs
Additional Information
We just need to add some code at the appropriate location that checks whether $member_info[$this->_details['uid']] is set and, if not, aborts the export.
Reactions are currently unavailable