Fixed ‚NULL NULL’ error in install table query.
Use $wpdb tables in queries.