Hi Medhat,
I checked the configuration and it looked ok, I was also able to restore it on a test PBX and access the Office Hours without the error 500.
I suspect there is something wrong elsewhere on this system so I would suggest to proceed with a ticket via Support for further investigation.