Must provide a timesort to and/or from value

Re: Must provide a timesort to and/or from value (solución)

by Sandipa Mukherjee -
Number of replies: 1
Picture of Particularly helpful Moodlers

Hi,


I have faced the same issue. But I solved this problem. Please go to Administration > Site administration > Appearance > Default Dashboard page > add calendar block and upcoming event block along with course overview block and browse your student dashboard page. You can see the error is gone.

If this issue occurs for particular user he / she customize his/her dashboard page and add calendar block and upcoming event block along with course overview block. 

Hope this helps you.

Thanks and regards,

Sandipa Mukherjee

In reply to Sandipa Mukherjee

Re: Must provide a timesort to and/or from value (solución)

by Sudeep Nayak -

If you don't want the calendar functionality at all, then just add the following line of code in the given place.

File: \moodle\calendar\classes\local\api.php

Method: get_action_events_by_timesort

Location: After "global $USER;"

New line of code to be added: $timesortfrom = time();$timesortto = time();$limitnum = 20; 

This is just a patch to quickly sort out the issue. (Only if you don't require calendar functionality)


This may help someone.


Thanks & Regards

Sudeep Nayak