No logging email in production
-
/** * Insert log data into DB. * * @param array $data Data to be inserted. */ public function insert_log( $data ) { global $wpdb; $table_name = $this->get_log_table_name(); $wpdb->insert( $table_name, $data ); }
I have an error, no log was saved in production, because the ip adresse value was an ipv6, soo many long for table in databases ‘ip_address’ with charvar(15).
I fix temporaly in database charvar(40)
but if you can send a error for this line :
$wpdb->insert( $table_name, $data );
Otherwise increase size type in database by default please !
Thx in advance
- The topic ‘No logging email in production’ is closed to new replies.