I thought I had fixed this issue by increasing the memory size allocation. It was doing fine, but now it is giving me the error again. I have increased the memory all the way up to 1GB, but still it gives me the same error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 86 bytes) in [path_to_moodle]/mysqli_native_moodle_database.php on line 1084
I can add other fields to filter on, and it is fine, but if I want to add a field from the User table, it crashes.
Can anyone let me know why this error is occurring and how to fix it?