Answers.Body: <p>Hopefully this seems more like upgrade issue for multi-lingual setup. The views are not created properly for the new field thats being added to civicrm_uf_group. The sql looks fine, But YES the columns for  views should match exactly same as table however the label for multi-lingual column may vary.</p>
  
  <p>To fix this i would suggest you to create column in the view or might have re-run code to rebuild Multi-lingual schema(<code>CRM_Core_I18n_Schema::rebuildMultilingualSchema($locales, NULL, TRUE);</code>)  </p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
  <p>Commands (<a href="https://gist.github.com/mlutfy/647e6325a09079e4f08f273af64900d9" rel="nofollow noreferrer">https://gist.github.com/mlutfy/647e6325a09079e4f08f273af64900d9</a>):</p>
  
  <h1>Drupal 7</h1>
  
  <p>drush php-eval 'civicrm_initialize(); CRM_Core_I18n_Schema::rebuildMultilingualSchema(["en_US","fr_CA"], NULL);'</p>
  
  <h1>Drupal 8</h1>
  
  <p>drush php-eval '\Drupal::service('civicrm')->initialize(); CRM_Core_I18n_Schema::rebuildMultilingualSchema(["en_US","fr_CA"], NULL);'</p>
  
  <h1>Drush</h1>
  
  <p>drush cvapi System.rebuildmultilingualschema</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-06T12:03:29.023Z
Answers.Text: Seems that was it, thanks! Added console commands to your answer.
Answers.UserDisplayName: Adr
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-29T18:45:09.040Z
Answers.Text: This just happened to me too, upgrading from a 4.6.38 site to 5.4.1 on Drupal 7.  Pradeep's suggested drush command fixed it.
Answers.UserDisplayName: Rob Brandt
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-29T18:46:39.250Z
Answers.Text: Great!!! Glad to hear that my answer was useful to you.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-06T10:44:38.713Z
Answers.LastActivityDate: 2018-06-06T12:10:48.713Z
Answers.LastEditDate: 2018-06-06T12:10:48.713Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I have an empty status page and the errors attached below in the Drupal 7 watchdog after upgrading to 5.1.2. Also, the columns in civicrm_uf_field_de_DE don't match columns in civicrm_uf_field (not sure if they should, though).</p>
  
  <blockquote>
    <p>$Fatal Error Details = array(3) { ["message"]=> string(23) "DB Error:
    no such field" ["code"]=> NULL ["exception"]=>
    object(CiviCRM_API3_Exception)#433 (8) {
    ["extraParams":"CiviCRM_API3_Exception":private]=> array(6) {
    ["error_code"]=> string(13) "no such field" ["sql"]=> string(1055)
    "SELECT a.id as <code>id</code>, a.is_active as <code>is_active</code>, a.group_type as
    <code>group_type</code>, a.title as <code>title</code>, a.frontend_title as
    <code>frontend_title</code>, a.description as <code>description</code>, a.help_pre as
    <code>help_pre</code>, a.help_post as <code>help_post</code>, a.limit_listings_group_id as
    <code>limit_listings_group_id</code>, a.post_URL as <code>post_URL</code>, a.add_to_group_id
    as <code>add_to_group_id</code>, a.add_captcha as <code>add_captcha</code>, a.is_map as
    <code>is_map</code>, a.is_edit_link as <code>is_edit_link</code>, a.is_uf_link as
    <code>is_uf_link</code>, a.is_update_dupe as <code>is_update_dupe</code>, a.cancel_URL as
    <code>cancel_URL</code>, a.is_cms_user as <code>is_cms_user</code>, a.notify as <code>notify</code>,
    a.is_reserved as <code>is_reserved</code>, a.name as <code>name</code>, a.created_id as
    <code>created_id</code>, a.created_date as <code>created_date</code>, a.is_proximity_search
    as <code>is_proximity_search</code>, a.cancel_button_text as
    <code>cancel_button_text</code>, a.submit_button_text as <code>submit_button_text</code>
    FROM civicrm_uf_group_de_DE a WHERE (a.name IN ("new_individual",
    "new_organization", "new_household")) AND (a.is_active = "1") LIMIT 25
    OFFSET 0 [nativecode=1054 ** Unknown column 'a.frontend_title' in
    'field list']" ["tip"]=> string(62) "add debug=1 to your API call to
    have more info about the error" ["is_error"]=> int(1)
    ["error_message"]=> string(23) "DB Error: no such field"
    ["debug_information"]=> string(1055) "SELECT a.id as <code>id</code>, a.is_active
    as <code>is_active</code>, a.group_type as <code>group_type</code>, a.title as <code>title</code>,
    a.frontend_title as <code>frontend_title</code>, a.description as <code>description</code>,
    a.help_pre as <code>help_pre</code>, a.help_post as <code>help_post</code>,
    a.limit_listings_group_id as <code>limit_listings_group_id</code>, a.post_URL as
    <code>post_URL</code>, a.add_to_group_id as <code>add_to_group_id</code>, a.add_captcha as
    <code>add_captcha</code>, a.is_map as <code>is_map</code>, a.is_edit_link as <code>is_edit_link</code>,
    a.is_uf_link as <code>is_uf_link</code>, a.is_update_dupe as <code>is_update_dupe</code>,
    a.cancel_URL as <code>cancel_URL</code>, a.is_cms_user as <code>is_cms_user</code>, a.notify
    as <code>notify</code>, a.is_reserved as <code>is_reserved</code>, a.name as <code>name</code>,
    a.created_id as <code>created_id</code>, a.created_date as <code>created_date</code>,
    a.is_proximity_search as <code>is_proximity_search</code>, a.cancel_button_text
    as <code>cancel_button_text</code>, a.submit_button_text as <code>submit_button_text</code>
    FROM civicrm_uf_group_de_DE a WHERE (a.name IN ("new_individual",
    "new_organization", "new_household")) AND (a.is_active = "1") LIMIT 25
    OFFSET 0 [nativecode=1054 ** Unknown column 'a.frontend_title' in
    'field list']" } ["message":protected]=> string(23) "DB Error: no such
    field" ["string":"Exception":private]=> string(0) ""
    ["code":protected]=> int(0) ["file":protected]=> string(57)
    "/var/www/example.com/app/sites/all/modules/civicrm/api/api.php"
    ["line":protected]=> int(45) ["trace":"Exception":private]=> array(10)
    { [0]=> array(4) { ["file"]=> string(70)
    "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php"
    ["line"]=> int(3342) ["function"]=> string(12) "civicrm_api3"
    ["args"]=> array(3) { [0]=> &amp;string(8) "uf_group" [1]=> &amp;string(3)
    "get" [2]=> &amp;array(2) { ["name"]=> array(1) { ["IN"]=> array(3) {
    [0]=> string(14) "new_individual" [1]=> string(16) "new_organization"
    [2]=> string(13) "new_household" } } ["is_active"]=> int(1) } } }
    [1]=> array(6) { ["file"]=> string(68)
    "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Resources.php"
    ["line"]=> int(689) ["function"]=> string(14) "getCreateLinks"
    ["class"]=> string(20) "CRM_Core_BAO_UFGroup" ["type"]=> string(2)
    "::" ["args"]=> array(0) { } } [2]=> array(4) { ["function"]=>
    string(20) "outputLocalizationJS" ["class"]=> string(18)
    "CRM_Core_Resources" ["type"]=> string(2) "::" ["args"]=> array(0) { }
    } [3]=> array(4) { ["file"]=> string(65)
    "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
    ["line"]=> int(275) ["function"]=> string(14) "call_user_func"
    ["args"]=> array(1) { [0]=> &amp;array(2) { [0]=> string(18)
    "CRM_Core_Resources" [1]=> string(20) "outputLocalizationJS" } } }
    [4]=> array(6) { ["file"]=> string(65)
    "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
    ["line"]=> int(84) ["function"]=> string(7) "runItem" ["class"]=>
    string(15) "CRM_Core_Invoke" ["type"]=> string(2) "::" ["args"]=>
    array(1) { [0]=> &amp;array(12) { ["id"]=> string(2) "61" ["domain_id"]=>
    string(1) "1" ["path"]=> string(20) "civicrm/ajax/l10n-js"
    ["access_callback"]=> string(1) "1" ["access_arguments"]=> array(2) {
    [0]=> array(1) { [0]=> string(14) "access CiviCRM" } [1]=> string(3)
    "and" } ["page_callback"]=> array(2) { [0]=> string(18)
    "CRM_Core_Resources" [1]=> string(20) "outputLocalizationJS" }
    ["breadcrumb"]=> array(1) { [0]=> array(2) { ["title"]=> string(7)
    "CiviCRM" ["url"]=> string(19) "/en/civicrm?reset=1" } } ["is_ssl"]=>
    string(1) "0" ["weight"]=> string(1) "1" ["type"]=> string(1) "1"
    ["page_type"]=> string(1) "0" ["page_arguments"]=> bool(false) } } }
    [5]=> array(6) { ["file"]=> string(65)
    "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
    ["line"]=> int(52) ["function"]=> string(7) "_invoke" ["class"]=>
    string(15) "CRM_Core_Invoke" ["type"]=> string(2) "::" ["args"]=>
    array(1) { [0]=> &amp;array(4) { [0]=> string(7) "civicrm" [1]=> string(4)
    "ajax" [2]=> string(7) "l10n-js" [3]=> string(5) "de_DE" } } } [6]=>
    array(6) { ["file"]=> string(67)
    "/var/www/example.com/app/sites/all/modules/civicrm/drupal/civicrm.module"
    ["line"]=> int(445) ["function"]=> string(6) "invoke" ["class"]=>
    string(15) "CRM_Core_Invoke" ["type"]=> string(2) "::" ["args"]=>
    array(1) { [0]=> &amp;array(4) { [0]=> string(7) "civicrm" [1]=> string(4)
    "ajax" [2]=> string(7) "l10n-js" [3]=> string(5) "de_DE" } } } [7]=>
    array(2) { ["function"]=> string(14) "civicrm_invoke" ["args"]=>
    array(3) { [0]=> &amp;string(4) "ajax" [1]=> &amp;string(7) "l10n-js" [2]=>
    &amp;string(5) "de_DE" } } [8]=> array(4) { ["file"]=> string(37)
    "/var/www/example.com/app/includes/menu.inc" ["line"]=> int(527)
    ["function"]=> string(20) "call_user_func_array" ["args"]=> array(2) {
    [0]=> &amp;string(14) "civicrm_invoke" [1]=> &amp;array(3) { [0]=> string(4)
    "ajax" [1]=> string(7) "l10n-js" [2]=> string(5) "de_DE" } } } [9]=>
    array(4) { ["file"]=> string(29) "/var/www/example.com/app/index.php"
    ["line"]=> int(21) ["function"]=> string(27)
    "menu_execute_active_handler" ["args"]=> array(0) { } } }
    ["previous":"Exception":private]=> NULL } }</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-06T20:26:54.200Z
Comments.Text: is this a multi language site?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-07T12:09:26.317Z
Comments.Text: @petednz Yes, it is.
Comments.UserDisplayName: Adr
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-29T14:48:28.793Z
Comments.Text: I am seeing something similar in civicrm_uf_group and have started investigating what might be the cause.
Comments.UserDisplayName: Stephen Palmstrom
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-29T15:56:21.150Z
Comments.Text: Lines 368 to 377 in ..CRM,Core,I18n,Schema.php readpublic function processLocales($tplFile, $rev) {
      $smarty = CRM_Core_Smarty::singleton();
      $smarty->assign('domainID', CRM_Core_Config::domainID());
  
      $this->source($smarty->fetch($tplFile), TRUE);
  
      if ($this->multilingual) {
        CRM_Core_I18n_Schema::rebuildMultilingualSchema($this->locales, $rev);
      }
      return $this->multilingual;
    }
   Shouldn't line 375 read CRM_Core_I18n_Schema::rebuildMultilingualSchema($this->locales, $rev, TRUE); as it is called during an upgrade?
Comments.UserDisplayName: Stephen Palmstrom
Tags: <missing>
Title: Missing column 'frontend_title' in ''civicrm_uf_field_de_DE" after upgrading to 5.1.2
ThreadText: # Missing column 'frontend_title' in ''civicrm_uf_field_de_DE" after upgrading to 5.1.2
  
  (Asked by: username_0 on 2018-06-06)
  
  I have an empty status page and the errors attached below in the Drupal 7 watchdog after upgrading to 5.1.2. Also, the columns in civicrm\_uf\_field\_de\_DE don't match columns in civicrm\_uf\_field (not sure if they should, though).
  
  > $Fatal Error Details = array(3) { ["message"]=> string(23) "DB Error:
  > no such field" ["code"]=> NULL ["exception"]=>
  > object(CiviCRM\_API3\_Exception)#433 (8) {
  > ["extraParams":"CiviCRM\_API3\_Exception":private]=> array(6) {
  > ["error\_code"]=> string(13) "no such field" ["sql"]=> string(1055)
  > "SELECT a.id as `id`, a.is\_active as `is_active`, a.group\_type as
  > `group_type`, a.title as `title`, a.frontend\_title as
  > `frontend_title`, a.description as `description`, a.help\_pre as
  > `help_pre`, a.help\_post as `help_post`, a.limit\_listings\_group\_id as
  > `limit_listings_group_id`, a.post\_URL as `post_URL`, a.add\_to\_group\_id
  > as `add_to_group_id`, a.add\_captcha as `add_captcha`, a.is\_map as
  > `is_map`, a.is\_edit\_link as `is_edit_link`, a.is\_uf\_link as
  > `is_uf_link`, a.is\_update\_dupe as `is_update_dupe`, a.cancel\_URL as
  > `cancel_URL`, a.is\_cms\_user as `is_cms_user`, a.notify as `notify`,
  > a.is\_reserved as `is_reserved`, a.name as `name`, a.created\_id as
  > `created_id`, a.created\_date as `created_date`, a.is\_proximity\_search
  > as `is_proximity_search`, a.cancel\_button\_text as
  > `cancel_button_text`, a.submit\_button\_text as `submit_button_text`
  > FROM civicrm\_uf\_group\_de\_DE a WHERE (a.name IN ("new\_individual",
  > "new\_organization", "new\_household")) AND (a.is\_active = "1") LIMIT 25
  > OFFSET 0 [nativecode=1054 \*\* Unknown column 'a.frontend\_title' in
  > 'field list']" ["tip"]=> string(62) "add debug=1 to your API call to
  > have more info about the error" ["is\_error"]=> int(1)
  > ["error\_message"]=> string(23) "DB Error: no such field"
  > ["debug\_information"]=> string(1055) "SELECT a.id as `id`, a.is\_active
  > as `is_active`, a.group\_type as `group_type`, a.title as `title`,
  > a.frontend\_title as `frontend_title`, a.description as `description`,
  > a.help\_pre as `help_pre`, a.help\_post as `help_post`,
  > a.limit\_listings\_group\_id as `limit_listings_group_id`, a.post\_URL as
  > `post_URL`, a.add\_to\_group\_id as `add_to_group_id`, a.add\_captcha as
  > `add_captcha`, a.is\_map as `is_map`, a.is\_edit\_link as `is_edit_link`,
  > a.is\_uf\_link as `is_uf_link`, a.is\_update\_dupe as `is_update_dupe`,
  > a.cancel\_URL as `cancel_URL`, a.is\_cms\_user as `is_cms_user`, a.notify
  > as `notify`, a.is\_reserved as `is_reserved`, a.name as `name`,
  > a.created\_id as `created_id`, a.created\_date as `created_date`,
  > a.is\_proximity\_search as `is_proximity_search`, a.cancel\_button\_text
  > as `cancel_button_text`, a.submit\_button\_text as `submit_button_text`
  > FROM civicrm\_uf\_group\_de\_DE a WHERE (a.name IN ("new\_individual",
  > "new\_organization", "new\_household")) AND (a.is\_active = "1") LIMIT 25
  > OFFSET 0 [nativecode=1054 \*\* Unknown column 'a.frontend\_title' in
  > 'field list']" } ["message":protected]=> string(23) "DB Error: no such
  > field" ["string":"Exception":private]=> string(0) ""
  > ["code":protected]=> int(0) ["file":protected]=> string(57)
  > "/var/www/example.com/app/sites/all/modules/civicrm/api/api.php"
  > ["line":protected]=> int(45) ["trace":"Exception":private]=> array(10)
  > { [0]=> array(4) { ["file"]=> string(70)
  > "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php"
  > ["line"]=> int(3342) ["function"]=> string(12) "civicrm\_api3"
  > ["args"]=> array(3) { [0]=> &string(8) "uf\_group" [1]=> &string(3)
  > "get" [2]=> &array(2) { ["name"]=> array(1) { ["IN"]=> array(3) {
  > [0]=> string(14) "new\_individual" [1]=> string(16) "new\_organization"
  > [2]=> string(13) "new\_household" } } ["is\_active"]=> int(1) } } }
  > [1]=> array(6) { ["file"]=> string(68)
  > "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Resources.php"
  > ["line"]=> int(689) ["function"]=> string(14) "getCreateLinks"
  > ["class"]=> string(20) "CRM\_Core\_BAO\_UFGroup" ["type"]=> string(2)
  > "::" ["args"]=> array(0) { } } [2]=> array(4) { ["function"]=>
  > string(20) "outputLocalizationJS" ["class"]=> string(18)
  > "CRM\_Core\_Resources" ["type"]=> string(2) "::" ["args"]=> array(0) { }
  > } [3]=> array(4) { ["file"]=> string(65)
  > "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
  > ["line"]=> int(275) ["function"]=> string(14) "call\_user\_func"
  > ["args"]=> array(1) { [0]=> &array(2) { [0]=> string(18)
  > "CRM\_Core\_Resources" [1]=> string(20) "outputLocalizationJS" } } }
  > [4]=> array(6) { ["file"]=> string(65)
  > "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
  > ["line"]=> int(84) ["function"]=> string(7) "runItem" ["class"]=>
  > string(15) "CRM\_Core\_Invoke" ["type"]=> string(2) "::" ["args"]=>
  > array(1) { [0]=> &array(12) { ["id"]=> string(2) "61" ["domain\_id"]=>
  > string(1) "1" ["path"]=> string(20) "civicrm/ajax/l10n-js"
  > ["access\_callback"]=> string(1) "1" ["access\_arguments"]=> array(2) {
  > [0]=> array(1) { [0]=> string(14) "access CiviCRM" } [1]=> string(3)
  > "and" } ["page\_callback"]=> array(2) { [0]=> string(18)
  > "CRM\_Core\_Resources" [1]=> string(20) "outputLocalizationJS" }
  > ["breadcrumb"]=> array(1) { [0]=> array(2) { ["title"]=> string(7)
  > "CiviCRM" ["url"]=> string(19) "/en/civicrm?reset=1" } } ["is\_ssl"]=>
  > string(1) "0" ["weight"]=> string(1) "1" ["type"]=> string(1) "1"
  > ["page\_type"]=> string(1) "0" ["page\_arguments"]=> bool(false) } } }
  > [5]=> array(6) { ["file"]=> string(65)
  > "/var/www/example.com/app/sites/all/modules/civicrm/CRM/Core/Invoke.php"
  > ["line"]=> int(52) ["function"]=> string(7) "\_invoke" ["class"]=>
  > string(15) "CRM\_Core\_Invoke" ["type"]=> string(2) "::" ["args"]=>
  > array(1) { [0]=> &array(4) { [0]=> string(7) "civicrm" [1]=> string(4)
  > "ajax" [2]=> string(7) "l10n-js" [3]=> string(5) "de\_DE" } } } [6]=>
  > array(6) { ["file"]=> string(67)
  > "/var/www/example.com/app/sites/all/modules/civicrm/drupal/civicrm.module"
  > ["line"]=> int(445) ["function"]=> string(6) "invoke" ["class"]=>
  > string(15) "CRM\_Core\_Invoke" ["type"]=> string(2) "::" ["args"]=>
  > array(1) { [0]=> &array(4) { [0]=> string(7) "civicrm" [1]=> string(4)
  > "ajax" [2]=> string(7) "l10n-js" [3]=> string(5) "de\_DE" } } } [7]=>
  > array(2) { ["function"]=> string(14) "civicrm\_invoke" ["args"]=>
  > array(3) { [0]=> &string(4) "ajax" [1]=> &string(7) "l10n-js" [2]=>
  > &string(5) "de\_DE" } } [8]=> array(4) { ["file"]=> string(37)
  > "/var/www/example.com/app/includes/menu.inc" ["line"]=> int(527)
  > ["function"]=> string(20) "call\_user\_func\_array" ["args"]=> array(2) {
  > [0]=> &string(14) "civicrm\_invoke" [1]=> &array(3) { [0]=> string(4)
  > "ajax" [1]=> string(7) "l10n-js" [2]=> string(5) "de\_DE" } } } [9]=>
  > array(4) { ["file"]=> string(29) "/var/www/example.com/app/index.php"
  > ["line"]=> int(21) ["function"]=> string(27)
  > "menu\_execute\_active\_handler" ["args"]=> array(0) { } } }
  > ["previous":"Exception":private]=> NULL } }
  
  **Tags:** missing
  
  > **Comments:**
  > **username_1**: is this a multi language site?  
  > **username_0**: @username_1 Yes, it is.  
  > **username_2**: I am seeing something similar in civicrm_uf_group and have started investigating what might be the cause.  
  > **username_2**: Lines 368 to 377 in ..CRM,Core,I18n,Schema.php readpublic function processLocales($tplFile, $rev) {     $smarty = CRM_Core_Smarty::singleton();     $smarty->assign('domainID', CRM_Core_Config::domainID());      $this->source($smarty->fetch($tplFile), TRUE);      if ($this->multilingual) {       CRM_Core_I18n_Schema::rebuildMultilingualSchema($this->locales, $rev);     }     return $this->multilingual;   }  Shouldn't line 375 read CRM_Core_I18n_Schema::rebuildMultilingualSchema($this->locales, $rev, TRUE); as it is called during an upgrade?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-06-06. Score: 1 | Accepted answer
  
  Hopefully this seems more like upgrade issue for multi-lingual setup. The views are not created properly for the new field thats being added to civicrm\_uf\_group. The sql looks fine, But YES the columns for views should match exactly same as table however the label for multi-lingual column may vary.
  
  To fix this i would suggest you to create column in the view or might have re-run code to rebuild Multi-lingual schema(`CRM_Core_I18n_Schema::rebuildMultilingualSchema($locales, NULL, TRUE);`)
  
  HTH
  
  username_3
  
  Commands (<https://gist.github.com/mlutfy/647e6325a09079e4f08f273af64900d9>):
  
  # Drupal 7
  
  drush php-eval 'civicrm\_initialize(); CRM\_Core\_I18n\_Schema::rebuildMultilingualSchema(["en\_US","fr\_CA"], NULL);'
  
  # Drupal 8
  
  drush php-eval '\Drupal::service('civicrm')->initialize(); CRM\_Core\_I18n\_Schema::rebuildMultilingualSchema(["en\_US","fr\_CA"], NULL);'
  
  # Drush
  
  drush cvapi System.rebuildmultilingualschema
  
  > **Comments:**
  > **username_0**: Seems that was it, thanks! Added console commands to your answer.  
  > **username_4**: This just happened to me too, upgrading from a 4.6.38 site to 5.4.1 on Drupal 7.  username_3's suggested drush command fixed it.  
  > **username_3**: Great!!! Glad to hear that my answer was useful to you.  
  
  ---
  
  