on line 62 this line has written $insert_sql_data = array('asc_info_date_account_created' => 'now()');

and it should be this

$insert_sql_data = array('asc_info_date_account_created' => 'now()','asc_info_date_account_last_modified' => 'now()');

and on line 561 there in syntax error in sql query
after p.asc_members no comma is there

More...