Creating a custom field module I am trying to create a custom field module for views, but I keep getting this error when I add the field to the view. 


  SQLSTATE[42S22]: Column not found: 1054
  Unknown column 'views_report_state_field' in 'field list'


This is the code I am using.

views_report_state.info

name = Views Report State
description = Turns short abbreviated states (ex: TX) into fully readable names (ex: Tx = Texas)
package = Views
core = 7.x

files[] = views/views_report_state_field.inc


views_report_state.module

function views_report_state_views_api($module = NULL, $api = NULL) {
  return array("api" =&gt; 3);
}


views_report_state.views.inc

function views_report_state_views_handlers() {
  $handlers = array(
    'info' =&gt; array(
      'path' =&gt; drupal_get_path('module', 'views_report_state'),
    ),
    'handlers' =&gt; array(
      'views_report_state_field' =&gt; array(
        'parent' =&gt; 'views_handler_field',
      ),
    ),
  );
  return $handlers;

function views_report_state_views_data() {
  $data = array();
  $data['views']['views_report_state_field'] = array(
    'title' =&gt; t('CRF: Convert US-State Abbreviations'),
    'help' =&gt; t('Converts State Abbreviations to their full name'),
    'field' =&gt; array(
      'handler' =&gt; 'views_report_state_field',
    ),
  );
  return $data;
}


views_report_state_field.inc

class views_report_state_field extends views_handler_field {

  function render() {
    return "working!";
  }

}
views_report_state_field.inc

class views_report_state_field extends views_handler_field {
  function query() {
    // Query
  }

  function render() {
    return "working!";
  }

}