Hey @mcginity,
Thank you for posting the solution. Though I’ve tried this at my end on both PHP v7 and v8 and it’s working fine.
Can you let me know what PHP version are you using? It’ll help me to find the exact issue.
Let me know.
Thanks,
Akash