Got the lower portion here sorted, but now there\'s an issue when it inserts the record. I have the NULL
value for file
formatted as %s
fo
https://core.trac.wordpress.org/ticket/32315
One of the columns inputs may be larger than the column is. Wordpress detects this and will not even send the query to the DB.
The Diff there shows a patch for wp-db you can put in to get more information in the last_error message so it will not be empty.