Solved:
It was the Laravel config cache causing the problem. Once the cache was cleared, it worked as expected.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community