Thanks Daniel Troszok, I was using php 7.2 but as per your suggestion when I selected php 7.0 for website, moodle worked fine.
Thanks again
Thanks Daniel Troszok, I was using php 7.2 but as per your suggestion when I selected php 7.0 for website, moodle worked fine.
Thanks again