in fact there are no issue while running the file in Xampp
but the issue appeared when I try to test it on my server
the error log said
[14-Jan-2021 04: