Event Specific Start Date Format Breaking Plugin
-
I’m experiencing a frustrating issue with this plugin. I have a wordpress site that I test locally on my MacBook Pro before making changes to the live site. I first installed Simple Calendar – Google Calendar locally and had no issues. After I installed the plugin to the live site I created the same calendar as I had locally, but I had a major error thrown. I’ve narrowed it down to being caused by a different date format under Calendar Settings -> Events -> Calendar Start. I am setting a specific start date. I cannot manually enter the start date, I must select the date from the pop up calendar which then enters the date into the input box.
The format from my local instance displays as 2016-02-01 (the working site). The format on the site that is breaking displays as 02/01/2016. I cannot figure out how to change the way the date is formatted so that I do not receive an error message when I try to save the calendar. All wordpress and calendar settings are identical between the 2 instances.
Could this be caused by my running PHP 5.5 on the live site? The local instance on my MacBook Pro is using PHP 5.6. Any help is appreciated!
Here is the error message:
Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘The separation symbol could not be found The separation symbol could not be found’ in /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Carbon.php:425 Stack trace: #0 /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/includes/abstracts/calendar.php(651): Carbon\Carbon::createFromFormat(‘Y-m-d’, ‘03012016’, ‘UTC’) #1 /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/includes/abstracts/calendar.php(253): SimpleCalendar\Abstracts\Calendar->set_start() #2 /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/includes/calendars/default-calendar.php(117): SimpleCalendar\Abstracts\Calendar->__construct(Object(WP_Post)) #3 /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/includes/objects.php(279): SimpleCalendar\Calendars\Default_Calendar->__construct(Object(WP_Post)) #4 /home/abcd/public_ in /home/abcd/public_html/dev/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 425
- The topic ‘Event Specific Start Date Format Breaking Plugin’ is closed to new replies.