I discovered a code issue that might be causing this error.
<b>Parse error</b>: syntax error, unexpected T_OBJECT_OPERATOR in <b>/wp-content/plugins/the-events-calendar-importer-ical/src/Tribe/Utils/Timezone_Parser.php</b> on line <b>104</b><br />
if ( ( new DateTime( $definition->getProperty( 'DTSTART' ) ) )->format( "c" ) == ( new DateTime( $transition["time"] ) )->format( "c" ) && $transition["offset"] === $this->parseOffsetToInteger( $definition->getProperty( 'TZOFFSETTO' ) ) ) {
format is being called on a non-date object.
I changed to:
if ( ( new DateTime( $definition->getProperty( 'DTSTART' )->format( "c" ) ) ) == ( new DateTime( $transition["time"]->format( "c" ) ) ) && $transition["offset"] === $this->parseOffsetToInteger( $definition->getProperty( 'TZOFFSETTO' ) ) ) {
and was able to import my events.
-
This reply was modified 9 years, 9 months ago by
Ben.