Dear Tim and Everyone else,
Thanks alot for all your input.
In my course table, the id of site changed from 1 to 0 somehow. Changing that resolved the issue.
Thanks again to everyone
Re: $course passed to moodle_page::set_course does not look like a proper course object.
ni Sanjay Singh -
Number of replies: 0