So, if you run it today, you get records created before August 30? Do you have any default paginate settings in this controller that might conflict with the query in question? Is there any difference between what’s in $testing and $testing1?
The CURRENT_DATE - INTERVAL 1 MONTH version will definitely not work. That’s a MySQL structure, not something that the PHP code will turn into a usable date. But new Date('-30 days') does give me the correct date, so I don’t see any reason why it wouldn’t work for you. (FrozenDate::now()->subDays(30) would be another way to go, but should be equivalent.)
How about the other two questions that I asked in my previous reply?