Warning: DateTime::modify() [datetime.modify]: Failed to parse time string (first day of next month) at position 10 (o): The timezone could not be found in the database in …

Warning: DateTime::modify() [datetime.modify]: Failed to parse time string (first day of next month) at position 10 (o): The timezone could not be found in the database in …..

 

The error says that it cannot read the start date of the calendar, which is correlated with server date.timezone settings. Basically server settings don’t support date.timezone

The calendar we implemented needs that line in code. It cannot be removed from theme end. That line basically allows users to book, mark dates as booked when bookings are made and confirmed. Delete that line and booking is useless.

Solutions must be applied on server level:

1. Setting the date.timezone in php.ini may solve this

Open up php.ini, find “date.timezone”

date.timezone =Europe/Athens
***the above is just an example

See more on PHP manual

http://php.net/manual/en/datetime.configuration.ph…

2. In godday hosting they have some server MYSQL issues on shared server. A client was hosting with them and he had to move hosting to another company because they didn’t allow this setting to work.

3. Check Server PHP version. Date format was introduced in PHP 5.3 Your server should have at least 5.3 version installed.