PHPのデバッグ方法:ファイルにログを書きだす
$debug= "AAA".$event_start_date;
file_put_contents(dirname(__FILE__) . '/error.log', $debug, FILE_APPEND);
$debug= "AAA".$event_start_date;
file_put_contents(dirname(__FILE__) . '/error.log', $debug, FILE_APPEND);