PLease help me sort this out @Saurabh
GitarthaChoudhury Make sure your php version is set to 7.2 or 7.3 or 7.4.
It looks lika you are in 5.6 php