How to fix this insert? Don’t work for me!

Make sure that the value portion of the data parameter’s column=>value pairs must be
scalar. If you pass an array (or object) as a value to be inserted you will generate a warning similar to mysql_real_escape_string() expects parameter 1 to be string, array given on line 880 in file
/var/www/html/wp-includes/wp-db.php”.

Rather then above your code is looking correct with :

<?php $wpdb->insert( $table, $data, $format ); ?> 

So finally check that every $_POST are not in array format.