There are no debug messages even with the following settings in wp-config:
ini_set(‘display_errors’, true);
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_DISPLAY’, true );
The page still simply reads as “There has been a critical error on this website.”
I’d usually expect WordPress DEBUG to show errors rendered in the HTML. However, for this bug it has no effect – which I thought is odd.
After further debugging. The export works if I pick a date with zero users. I don’t believe it’s an issue with export size. My entire userbase is only ~700 users. If I pick a date range to export where I know only 1 user would be exported, the error appears.
I’ve had to migrate to a different plugin as I needed to urgently fix the issue. However, I would like to continue to work out how to resolve this issue as I prefer your implementation of the export feature (when it works).