array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql()?
You've forgotten to return anything from your implementation of hook_schema().

Just add return $schema; to the end of the function, and re-install your module.