What version of Ipb do you have and what is your php version?
Have you upgraded your forum since you deactivated the calendar? If you did so and you didn't upload the calendar files as you didn't plan to use it, can you reupload the calendar files as well and overwrite the current files and see if the error will go away? The error might occur due to the calendar files being out dated and not compatible with the php version.